Fix stupid braino in previous commit.
This commit is contained in:
parent
a4a035fd3e
commit
400f772943
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user