diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cvs/src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/usr.bin/cvs/src/main.c b/gnu/usr.bin/cvs/src/main.c index 2b7dcbe7609..d882632b666 100644 --- a/gnu/usr.bin/cvs/src/main.c +++ b/gnu/usr.bin/cvs/src/main.c @@ -954,8 +954,7 @@ parseopts(root) } else if (!strncmp(buf, "umask=", 6)) { mode_t mode; - mode = (mode_t)strtol(buf+6, NULL, 8); - (void) umask(mode); + cvsumask = (mode_t)(strtol(buf+6, NULL, 8) & 0777); } else if (!strncmp(buf, "dlimit=", 7)) { #ifdef BSD |