use S_IWUSR (0200) instead of S_IWRITE (S_IWRITE isn't documented, i

guess it is historical)
sigsegv_dump
Greg Alexander 10 years ago
parent 5b4f2d405f
commit 7cb3cbc624

@ -992,7 +992,7 @@ sink(int argc, char **argv)
continue;
}
omode = mode;
mode |= S_IWRITE;
mode |= S_IWUSR;
if ((ofd = open(np, O_WRONLY|O_CREAT, mode)) < 0) {
bad: run_err("%s: %s", np, strerror(errno));
continue;

Loading…
Cancel
Save