summaryrefslogtreecommitdiff
path: root/lib/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-04-17 23:24:49 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-04-17 23:24:49 +0000
commitae5252e393665a15b05c6ed54c0dd3e39ad6438e (patch)
treea52e755f40bea9dc8f2f30ac0f569472ab17e370 /lib/ChangeLog
parentd918aff890c261d38cce047461a4172c74718554 (diff)
downloadcoreutils-ae5252e393665a15b05c6ed54c0dd3e39ad6438e.tar.xz
Document filemode changes.
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r--lib/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 76d46940e..b5ebafdd0 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,23 @@
2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
+ * filemode.c: Include "filemode.h" first, to test the interface.
+ Assume that filemode.h includes sys/types.h and sys/stat.h.
+ (HAVE_ST_DM_MODE): New macro, moved here from ls.c.
+ (ftypelet): Reorder to put common cases first, for efficiency.
+ Add 'P', 'w'. Remove 'M', since it's now the caller's responsibility
+ to do 'M'.
+ (strmode): Renamed from mode_string, and now stores 12 bytes instead
+ of 10, for compatibility with FreeBSD. All callers changed.
+ (filemodestring): Now stores 12 bytes instead of 10, and sets file types
+ that can't be deduced solely from st_mode. First arg is now a const
+ pointer.
+ * filemode.h (HAVE_DECL_STRMODE): Include <string.h> for strmode.
+ (strmode): Renamed from mode_string.
+ (filemodestring): New decl.
+ * stat-macros.h: Don't undef S_ISDOOR, since it's never buggy.
+ (S_ISDOOR): Don't bother with S_IFDOOR, since that code is never needed.
+ (S_ISPORT, S_ISWHT): New macros, if not already defined.
+
* openat.h (openat_needs_fchdir) [ ! defined __OPENAT_PREFIX]:
Turn this into a macro that always returns false.