summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-15 10:11:19 +0000
committerJim Meyering <jim@meyering.net>2001-05-15 10:11:19 +0000
commit345f20440e08fc83a1a9a3130f1c4d18e5c10943 (patch)
tree87dfeb69a0a550c7b533ee68d141d68901bbcb64
parent9e879e9c09457145b3eed2167e71536e7927b2ee (diff)
downloadcoreutils-345f20440e08fc83a1a9a3130f1c4d18e5c10943.tar.xz
*** empty log message ***
-rw-r--r--old/fileutils/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index a3d54b10d..b1f1f426c 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -1,3 +1,18 @@
+2001-05-12 Paul Eggert <eggert@twinsun.com>
+
+ Clean up some of the places where the code assumed that random
+ types like 'mode_t' fit into 'int', which POSIX doesn't guarantee.
+
+ * src/ls.c (struct fileinfo.linkmode): Now st_mode.
+ (print_color_indicator, print_name_with_quoting, print_type_indicator,
+ length_of_file_name_and_frills):
+ Use mode_t, not unsigned int, to store modes.
+ (dired_dump_obstack): Do not assume size fits in 'int'.
+ (get_link_name): readlink returns ssize_t, not int.
+ (make_link_path): Store buffer size as size_t, not int.
+ (print_long_format): Use unsigned long, not unsigned, to print
+ nlink_t, uid_t, gid_t, major_t, minor_t.
+
2001-05-13 Paul Eggert <eggert@sic.twinsun.com>
* src/mknod.c (main): Check for NODEV device only if NODEV is defined.