mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(main): On systems with d_type, directories_first only
implies format_needs_type, not format_needs_stat.
This commit is contained in:
1 parent
f0562bdf48
commit
a99440c4ee
1 file changed
+5
-4
@@ -1229,11 +1229,12 @@ main (int argc, char **argv)
|
||||
|
||||
format_needs_stat = sort_type == sort_time || sort_type == sort_size
|
||||
|| format == long_format
|
||||
|| print_block_size
|
||||
|| directories_first;
|
||||
|| print_block_size;
|
||||
format_needs_type = (! format_needs_stat
|
||||
&& (recursive || print_with_color
|
||||
|| indicator_style != none));
|
||||
&& (recursive
|
||||
|| print_with_color
|
||||
|| indicator_style != none
|
||||
|| directories_first));
|
||||
|
||||
if (dired)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user