ls -U1 now uses constant memory
authorKamil Dudka <kdudka@redhat.com>
Wed, 30 Jul 2008 12:31:50 +0000 (14:31 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 1 Aug 2008 06:36:38 +0000 (08:36 +0200)
commit8d974b00fbbc2025de63e1e6d54827648fefa1c4
treebff56540d745da7ec4287455eaf3ad119bae5441
parentb44f5f74aa1cb209720cbb2cd60ecd47975397ab
ls -U1 now uses constant memory

When printing one name per line and not sorting, ls now uses
constant memory per directory, no matter how many files are in
the directory.
* ls.c (print_dir): Print each file name immediately, when possible.
* NEWS: Mention the improvement.
NEWS
src/ls.c