From: Jim Meyering Date: Tue, 15 May 2001 10:11:19 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CPPI-1_9~118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=345f20440e08fc83a1a9a3130f1c4d18e5c10943;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index a3d54b10d8..b1f1f426c6 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,3 +1,18 @@ +2001-05-12 Paul Eggert + + 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 * src/mknod.c (main): Check for NODEV device only if NODEV is defined.