forked from enlightenment/efl
parent
39b6c9148c
commit
5ca2776a01
|
@ -2874,7 +2874,7 @@ eet_data_get_unknown(Eet_Free_Context *context, const Eet_Dictionary *ed, Eet_Da
|
||||||
{
|
{
|
||||||
eet_data_dump_simple_type(type, echnk->name, data, level, dumpfunc, dumpdata);
|
eet_data_dump_simple_type(type, echnk->name, data, level, dumpfunc, dumpdata);
|
||||||
}
|
}
|
||||||
else if (type == EET_T_STRING)
|
else if (edd && type == EET_T_STRING)
|
||||||
{
|
{
|
||||||
char **str;
|
char **str;
|
||||||
|
|
||||||
|
@ -2893,7 +2893,7 @@ eet_data_get_unknown(Eet_Free_Context *context, const Eet_Dictionary *ed, Eet_Da
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (type == EET_T_INLINED_STRING)
|
else if (edd && type == EET_T_INLINED_STRING)
|
||||||
{
|
{
|
||||||
char **str;
|
char **str;
|
||||||
|
|
||||||
|
|
|
@ -1348,6 +1348,9 @@ eet_open(const char *file, Eet_File_Mode mode)
|
||||||
/* try open the file based on mode */
|
/* try open the file based on mode */
|
||||||
if ((mode == EET_FILE_MODE_READ) || (mode == EET_FILE_MODE_READ_WRITE))
|
if ((mode == EET_FILE_MODE_READ) || (mode == EET_FILE_MODE_READ_WRITE))
|
||||||
{
|
{
|
||||||
|
/* Prevent garbage in futur comparison. */
|
||||||
|
file_stat.st_mtime = 0;
|
||||||
|
|
||||||
fp = fopen(file, "rb");
|
fp = fopen(file, "rb");
|
||||||
if (!fp) goto on_error;
|
if (!fp) goto on_error;
|
||||||
if (fstat(fileno(fp), &file_stat))
|
if (fstat(fileno(fp), &file_stat))
|
||||||
|
|
Loading…
Reference in New Issue