summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-12-29 10:32:33 +0000
committerJim Meyering <jim@meyering.net>2000-12-29 10:32:33 +0000
commit206205c6eec1b431a35fd65af6b2cacb4877b223 (patch)
tree6f786dafd491a3616997223532826a01d31d26d8 /lib
parent3336d7cf69601c496f2f3c428ebd25b66823a059 (diff)
downloadcoreutils-206205c6eec1b431a35fd65af6b2cacb4877b223.tar.xz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index f49ad2a9a..50d74ba25 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,20 @@
+2000-12-29 Paul Eggert <eggert@twinsun.com>
+
+ * lib/modechange.c: 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-24 Jim Meyering <meyering@lucent.com>
* hash.c (is_prime): Return explicit boolean values.