diff options
Diffstat (limited to 'src/lib9/create.c')
-rw-r--r-- | src/lib9/create.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib9/create.c b/src/lib9/create.c index c8f6605a..c608f905 100644 --- a/src/lib9/create.c +++ b/src/lib9/create.c @@ -43,6 +43,10 @@ p9create(char *path, int mode, ulong perm) umode |= O_EXCL; mode &= ~OEXCL; } + if(mode&OAPPEND){ + umode |= O_APPEND; + mode &= ~OAPPEND; + } if(mode){ werrstr("unsupported mode in create"); goto out; |