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:
733e32c
)
Typo.
author
cedric
<cedric>
Mon, 8 Sep 2008 11:11:51 +0000
(11:11 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 8 Sep 2008 11:11:51 +0000
(11:11 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35883
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
76e60df
..
60eacb8
100644
(file)
--- a/
src/lib/eet_lib.c
+++ b/
src/lib/eet_lib.c
@@
-390,7
+390,7
@@
eet_flush2(Eet_File *ef)
int fd;
unlink(ef->path);
- fd = open(
file
, O_CREAT | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
+ fd = open(
ef->path
, O_CREAT | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
ef->fp = fdopen(fd, "wb");
if (!ef->fp) return EET_ERROR_NOT_WRITABLE;
fcntl(fileno(ef->fp), F_SETFD, FD_CLOEXEC);