From 0b6ee7158ecedb60096fcb090ec71ac224494ce0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 26 Apr 1999 12:19:37 +0000 Subject: [PATCH] Use proper mode_t types and macros. Don't assume the traditional Unix values for mode bits. --- src/mv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mv.c b/src/mv.c index b8a92099d3..0ed75e22d8 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; -- 2.47.3