Fix stupid braino in previous commit.

This commit is contained in:
Dag-Erling Smørgrav 2007-05-23 10:06:03 +00:00
parent a4a035fd3e
commit 400f772943

View File

@ -63,7 +63,7 @@ flopen(const char *path, int flags, ...)
operation |= LOCK_NB;
truncate = (flags & O_TRUNC);
flags |= ~O_TRUNC;
flags &= ~O_TRUNC;
for (;;) {
if ((fd = open(path, flags, mode)) == -1)