]> git.p6c8.net - devedit.git/commitdiff
Removed the race condition in file_create() which could set a file to 0 if it
authorpcanterino <>
Thu, 5 Aug 2004 10:06:49 +0000 (10:06 +0000)
committerpcanterino <>
Thu, 5 Aug 2004 10:06:49 +0000 (10:06 +0000)
already exist.
I wanted to use O_EXCL, but `perldoc -f sysopen` doesn't say that O_EXCL is
avaiable in _every_ system. So I use O_RDONLY and O_CREAT.
Additionally, I replaced all the open() calls in this module by sysopen() calls.


No differences found

patrick-canterino.de