projects
/
profile
/
ivi
/
eet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31257b6
)
* eet: don't open file two small to be valid.
author
cedric
<cedric>
Fri, 12 Nov 2010 10:31:07 +0000
(10:31 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Nov 2010 10:31:07 +0000
(10:31 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@54491
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eet_lib.c
patch
|
blob
|
history
diff --git
a/src/lib/eet_lib.c
b/src/lib/eet_lib.c
index
d4b0ec1
..
a9f8a68
100644
(file)
--- a/
src/lib/eet_lib.c
+++ b/
src/lib/eet_lib.c
@@
-1555,8
+1555,7
@@
eet_open(const char *file,
goto open_error;
}
- if ((mode == EET_FILE_MODE_READ) &&
- (file_stat.st_size < ((int)sizeof(int) * 3)))
+ if (file_stat.st_size < ((int)sizeof(int) * 3))
{
fclose(fp);
fp = NULL;