diff options
-rw-r--r-- | ChangeLog.txt | 4 | ||||
-rw-r--r-- | ports/darwin/guts/open.c | 2 | ||||
-rw-r--r-- | ports/linux/guts/openat.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index d334dec..84c5d5a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2018-01-20: + * (seebs) merge patch from <joshua.g.lock@linux.intel.com> to fix + open/openat flags. + 2018-01-16: * (seebs) rework the LINKAT case significantly but now it's actually probably right. diff --git a/ports/darwin/guts/open.c b/ports/darwin/guts/open.c index f34b0d3..307bcc9 100644 --- a/ports/darwin/guts/open.c +++ b/ports/darwin/guts/open.c @@ -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 diff --git a/ports/linux/guts/openat.c b/ports/linux/guts/openat.c index a3637c8..b571c56 100644 --- a/ports/linux/guts/openat.c +++ b/ports/linux/guts/openat.c @@ -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. */ |