From b589fce2fbf05ae18a6f015240f87ce2a163521f Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 11 Feb 2005 16:58:23 +0000 Subject: hard code list of plan 9 services in case they are not in /etc/services --- src/lib9/create.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib9/create.c') 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; -- cgit v1.2.3