forked from enlightenment/efl
Elementary : use binary mode for fopen()
SVN revision: 60462
This commit is contained in:
parent
4538b5e3ad
commit
41566eda22
|
@ -130,7 +130,7 @@ _st_store_fetch(void *data __UNUSED__, Elm_Store_Item *sti)
|
|||
// if we already have my item data - skip
|
||||
if (elm_store_item_data_get(sti)) return;
|
||||
// open the mail file and parse it
|
||||
f = fopen(path, "r");
|
||||
f = fopen(path, "rb");
|
||||
if (!f) return;
|
||||
|
||||
// alloc my item in memory that holds data to show in the list
|
||||
|
|
|
@ -3574,7 +3574,7 @@ elm_object_tree_dot_dump(const Evas_Object *top,
|
|||
const char *file)
|
||||
{
|
||||
#ifdef ELM_DEBUG
|
||||
FILE *f = fopen(file, "w");
|
||||
FILE *f = fopen(file, "wb");
|
||||
elm_widget_tree_dot_dump(top, f);
|
||||
fclose(f);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue