Only enforce file size in read mode, otherwise this breaks parallel builds of

edje files.


SVN revision: 32925
This commit is contained in:
ningerso 2007-12-01 21:14:25 +00:00 committed by ningerso
parent 46ed68191b
commit ed6c28dc16
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ eet_open(const char *file, Eet_File_Mode mode)
else
return NULL;
}
else if (file_stat.st_size == 0)
else if ((mode == EET_FILE_MODE_READ) && (file_stat.st_size == 0))
{
return NULL;
}