Browse Source

open_write also didn't specify mode 0644

master
Felix von Leitner 19 years ago
parent
commit
8825239420
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      open/open_write.c

+ 1
- 1
open/open_write.c View File

@ -3,5 +3,5 @@
#include "open.h"
extern int open_write(const char *filename) {
return open(filename,O_WRONLY|O_CREAT|O_NDELAY);
return open(filename,O_WRONLY|O_CREAT|O_NDELAY,0644);
}

Loading…
Cancel
Save