Remove macro S_IRWUG

Use its expansion instead.
This commit is contained in:
Markus Armbruster 2009-04-13 17:27:08 +02:00
parent 1c08ccf25b
commit c665c83ba4
5 changed files with 8 additions and 9 deletions

View file

@ -176,9 +176,9 @@ main(int argc, char *argv[])
}
for (i = 0; i < MAXNOC; i++) {
filename = mailbox(buf, i);
close(creat(filename, S_IRWUG));
close(creat(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP));
}
close(creat(annfil, S_IRWUG));
close(creat(annfil, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP));
/* create a zero-filled sector file */
memset(&sct, 0, sizeof(sct));