From 23f176cae633cc795a8d7a0becb56ba1481f32ba Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 17 Aug 2006 15:46:56 +0000 Subject: ls -CF would misalign columns in some cases. * src/ls.c (get_type_indicator): New function. extracted from... (print_type_indicator): ...here. Use it. (length_of_file_name_and_frills): Use it here, too, rather than assuming stat.st_mode is valid. Reported by Andreas Schwab, here: FIXME: add a test for this: FYI, I did ls -CF /proc and visually inspected the result. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 023075355..416f7a2a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2006-08-17 Jim Meyering + ls -CF would misalign columns in some cases. + * src/ls.c (get_type_indicator): New function. extracted from... + (print_type_indicator): ...here. Use it. + (length_of_file_name_and_frills): Use it here, too, rather than + assuming stat.st_mode is valid. + Reported by Andreas Schwab, here: + + FIXME: add a test for this: FYI, I did ls -CF /proc and visually + inspected the result. + * src/copy.c (copy_internal, same_file_ok): Adjust comments not to mention the now-removed cp_options.xstat member. -- cgit v1.2.3-70-g09d2