openat.c: fix flags in wrap_openat
Due to a silly typo we use incorrect open flags.
Signed-off-by Juro Bystricky <[email protected]>
--- ports/darwin/guts/open.c | 2 +- ports/linux/guts/openat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
ports/darwin/guts/open.c +1 -1
@@ -12,7 +12,7 @@/* mask out mode bits appropriately */ mode = mode & ~pseudo_umask; -#ifdef PSEUDO_FORCE_ASYNCH +#ifdef PSEUDO_FORCE_ASYNC flags &= ~O_SYNC ;#endif
ports/linux/guts/openat.c +1 -1
@@ -20,7 +20,7 @@ }#endif -#ifdef PSEUDO_FORCE_ASYNCH +#ifdef PSEUDO_FORCE_ASYNC /* Yes, I'm aware that every Linux system I've seen has * DSYNC and RSYNC being the same value as SYNC. */
Signature · 1 line
2.7.4