diff options
author | Jim Meyering <jim@meyering.net> | 2005-06-29 10:03:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-06-29 10:03:10 +0000 |
commit | 9b050191c5fb3567d443eddae32b3702c27e86cd (patch) | |
tree | 301a29cb7d6044f138ac56fcff23afe802a5d45e /src | |
parent | df46e292842399730363b6caeaec3604d44279e7 (diff) | |
download | coreutils-9b050191c5fb3567d443eddae32b3702c27e86cd.tar.xz |
(gobble_file): Use stat.st_author, not stat.st_uid
when computing the --author column width. This bug might have
resulted in misaligned columns when using the --author option
on the Hurd. Spotted by Arnold Robbins.
The bug was introduced on 2003-12-03.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2658,7 +2658,7 @@ gobble_file (char const *name, enum filetype type, bool command_line_arg, if (print_author) { - int len = format_user_width (f->stat.st_uid); + int len = format_user_width (f->stat.st_author); if (author_width < len) author_width = len; } |