Jim Meyering 3336d7cf69 Do not assume that mode_t uses the
traditional octal encoding.  E.g. "chmod 1 FOO" should set
the other-execute bit of FOO even if S_IXOTH != 1.

(SUID, SGID, SVTX, RUSR, WUSR, XUSR, RGRP, WGRP, XGRP, ROTH,
WOTH, XOTH, ALLM): New macros.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
 S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH):
Use them.
(S_ISGID): Fix typo; it was defaulting to the same value as S_ISUID.
(S_IRWXU, S_IRWXG, S_IRWXO): Specify defaults in terms of the above.
(mode_compile):
No need to use uintmax_t; unsigned long is long enough.
Don't bother to get suffix since we don't use it.
2000-12-29 10:32:09 +00:00
.
2000-12-27 10:05:05 +00:00
2000-12-29 10:32:09 +00:00
.
2000-12-27 07:47:08 +00:00
2000-12-24 09:34:17 +00:00
2000-12-29 08:58:38 +00:00
2000-11-18 13:02:44 +00:00
2000-12-28 11:52:28 +00:00
1998-05-03 20:46:29 +00:00
.
1997-02-04 03:29:06 +00:00
2000-12-09 10:14:52 +00:00
S
Description
GNU Coreutils
GPL-3.0
48 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 55.1%
Shell 29.1%
Perl 11.6%
Makefile 2.2%
M4 0.9%
Other 1.1%