Pádraig Brady
d4c7114bce
ls: always print "?" for allocated size of a dereferenced dangling symlink
...
Previously for `ls -Ls` (but not `ls -Lsl`), we referenced
the st_blocks returned from the previous failed stat() call.
This undefined value was seen to be 0 for dangling symlinks at least.
* src/ls.c (print_file_name_and_frills, length_of_file_name_and_frills):
Don't use st_blocks if the previous stat() failed
* tests/ls/dangle: Add a test case
* NEWS: Mention the fix, and roll up related items into a single entry.
2009-09-30 15:42:35 +01:00
..
2009-06-17 14:54:29 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-08-25 09:21:00 +02:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-08-25 09:21:00 +02:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-25 07:03:36 -06:00
2009-08-29 00:24:49 +01:00
2009-08-25 09:21:00 +02:00
2008-11-20 10:21:52 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-06-23 22:33:15 +02:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-19 12:26:41 +02:00
2009-09-21 12:37:57 +01:00
2009-06-23 22:33:15 +02:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-08-25 09:21:00 +02:00
2009-09-21 12:37:57 +01:00
2005-07-18 07:52:37 +00:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-08-25 09:21:00 +02:00
2009-06-23 22:33:15 +02:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2003-07-06 06:08:40 +00:00
2009-06-17 14:54:29 +01:00
2009-09-21 12:37:57 +01:00
2009-09-25 07:03:03 -06:00
2009-09-21 12:37:57 +01:00
2009-09-30 15:42:35 +01:00
2009-09-11 14:08:51 +02:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-02-28 11:06:35 +01:00
2009-06-23 22:33:15 +02:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-06-23 22:33:15 +02:00
2009-03-02 09:10:17 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-11 14:08:58 +02:00
2009-09-11 14:08:51 +02:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-29 16:04:12 +02:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 20:42:16 -06:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-08-25 09:21:00 +02:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2009-09-21 12:37:57 +01:00
2007-07-10 19:00:00 +02:00
2009-09-23 14:33:40 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-22 12:21:00 +01:00
2009-09-21 12:37:57 +01:00
2009-09-23 14:33:40 +01:00
2009-08-25 09:21:00 +02:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00
2009-09-21 12:37:57 +01:00