diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-05-30 20:53:36 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-05-30 20:53:36 +0000 |
commit | f66055fa1ef3eb208666b5ace7b5ab16bf7e8980 (patch) | |
tree | d9fd192f682e45a53f5dcd00062dd6b3ddc24042 /src/fix.cc | |
parent | 5908663f4209eed632b3973c97b25ff5a3dd3b17 (diff) |
* Set umask to 0022 on startup.
Diffstat (limited to 'src/fix.cc')
-rw-r--r-- | src/fix.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fix.cc b/src/fix.cc index b26f8eb59..30303322a 100644 --- a/src/fix.cc +++ b/src/fix.cc @@ -301,6 +301,8 @@ void printUsage() /* Parse the command-line arguments, call the right operation. */ void run(Strings::iterator argCur, Strings::iterator argEnd) { + umask(0022); + Strings extraArgs; enum { cmdUnknown, cmdInstantiate } command = cmdUnknown; |