diff options
author | Jim Meyering <jim@meyering.net> | 2006-08-17 15:46:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-08-17 15:46:56 +0000 |
commit | 23f176cae633cc795a8d7a0becb56ba1481f32ba (patch) | |
tree | db012f6f766824817d546b10670712dca73ab185 /ChangeLog | |
parent | 1b3ac49f0e2c447f42b5252c48212078829d8211 (diff) | |
download | coreutils-23f176cae633cc795a8d7a0becb56ba1481f32ba.tar.xz |
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:
<http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/7774>
FIXME: add a test for this: FYI, I did ls -CF /proc and visually
inspected the result.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ 2006-08-17 Jim Meyering <jim@meyering.net> + 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: + <http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/7774> + 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. |