summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ChangeLog18
-rw-r--r--lib/ChangeLog39
-rw-r--r--m4/ChangeLog15
3 files changed, 72 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index d4dedd697..89ea81f25 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,21 @@
+2005-04-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ * perm.texi (Mode Structure, Changing Special Permissions):
+ (Conditional Executability, Numeric Modes):
+ These days the sticky bit is more often uses as the restricted
+ deletion flag, so modernize the discussion about this.
+ (Mode Structure): Linux/GNU -> GNU/Linux.
+ (Symbolic Modes): Don't imply that "+ur" or "u" is valid.
+ (Setting Permissions): Don't imply that "+t" is invalid.
+ Use "rwx" rather than the less-common "rxw" in an example.
+ (Copying Permissions): Say that ugo is a replacement for
+ a string of the other letters. Add spaces around examples.
+ Use "set-user-ID" rather than "set user ID" to avoid ambiguity.
+ Use "+t" rather than "o+t", since POSIX doesn't specify the latter.
+ Mention which combinations are portable and which are GNU.
+ (Numeric Modes): Don't imply they aren't portable; they are
+ nowadays.
+
2005-04-26 Paul Eggert <eggert@cs.ucla.edu>
* coreutils.texi (Standards conformance): Do not mention head -10,
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 67760a86b..9e45597db 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,42 @@
+2005-04-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ * tempname.c (S_ISDIR, S_IRUSR, S_IRUSR, S_IWUSR, S_IXUSR): Remove.
+ [!_LIBC] Include "stat-macros.h" instead.
+
+ * file-type.c: Include file-type.h first.
+ * filetype.h: Don't assume <sys/stat.h> was included first.
+
+ * modechange.c: Include stat-macros.h, xalloc.h.
+ (S_ISDIR, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR):
+ (S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRXWU):
+ (S_IRWXG, S_IRWXO, CHMOD_MODE_BITS):
+ Remove. This is now stat-macros.h's job.
+ (talloc): Remove. All callers replaced by xalloc, so that
+ our invokers don't have to worry about reporting memory failures.
+ (make_node_op_equals): Remove.
+ (MODE_ORDINARY_CHAGE, MODE_X_IF_ANY_X, MODE_COPY_EXISTING):
+ New constants.
+ (struct mode_change): Moved here from modechange.h.
+ (mode_append_entry): Remove.
+ (mode_compile): Remove MASKED_OPS arg, since it encouraged
+ apps to have incorrect behavior. Use simpler algorithm for head
+ and tail. Don't futz with umask; that's now the job of mode_adjust.
+ Detect more invalid usages rather than having somewhat-random behavior.
+ Don't insert an "a=" action, as that leads to incorrect behavior.
+ (mode_compile, mode_create_from_ref): Return NULL on error instead
+ of an enum, since now there's only one way to have an error. All
+ callers changed.
+ (mode_adjust): Accept new arg UMASK_VALUE, and interpret it
+ at the correct time. Simplify calculation of "+u" and its ilk.
+ Don't mishandle "+X".
+ (mode_free): Remove "register" and localize decls.
+ * modechange.h (MODE_X_IF_ANY_X, MODE_COPY_EXISTING):
+ (struct mode_change): Move to modechange.c; callers don't
+ need to see this stuff.
+ (MODE_MASK_EQUALS, MODE_MASK_PLUS, MODE_MASK_MINUS, MODE_MASK_ALL):
+ (MODE_INVALID, MODE_MEMORY_EXHAUSTED, MODE_BAD_REFERENCE): Remove.
+ (mode_change, mode_adjust): Reflect the new signatures noted above.
+
2005-04-18 Paul Eggert <eggert@cs.ucla.edu>
* Makefile.am (noinst_LIBRARIES): fetish -> coreutils.
diff --git a/m4/ChangeLog b/m4/ChangeLog
index c3b59227d..a592ef244 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,18 @@
+2005-04-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
+ * jm-macros.m4 (gl_CHECK_ALL_TYPES): Likewise.
+ * lchown.m4 (gl_FUNC_CHOWN): Likewise.
+ (gl_PREREQ_CHOWN): Remove.
+ * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
+ it. Don't require AC_HEADER_STAT.
+ (gl_PREREQ_LSTAT): Remove.
+ * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
+ Don't require AC_HEADER_STAT.
+ * prereq.m4 (gl_PREREQ): Require gl_STAT_MACROS.
+ * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
+ (gl_PREREQ_RMDIR): Remove.
+
2005-04-27 Paul Eggert <eggert@cs.ucla.edu>
* stat-macros.m4: New file, from gnulib, except that gl_STAT_MACROS