summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-26 12:19:37 +0000
committerJim Meyering <jim@meyering.net>1999-04-26 12:19:37 +0000
commit0b6ee7158ecedb60096fcb090ec71ac224494ce0 (patch)
treec786302016e46df05a910c7e8cd0e152ca5e72f3 /src
parent3baa7fa854482a64019861c9eb8182610edc2c59 (diff)
downloadcoreutils-0b6ee7158ecedb60096fcb090ec71ac224494ce0.tar.xz
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
Diffstat (limited to 'src')
-rw-r--r--src/mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mv.c b/src/mv.c
index b8a92099d..0ed75e22d 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -136,7 +136,7 @@ cp_option_init (struct cp_options *x)
when using chmod. The creation mask is set to be liberal, so
that created directories can be written, even if it would not
have been allowed with the mask this process was started with. */
- x->umask_kill = 0777777 ^ umask (0);
+ x->umask_kill = ~ umask (0);
x->update = 0;
x->verbose = 0;