]> git.ipfire.org Git - thirdparty/coreutils.git/commit
ls -1U dir arg ... now works again
authorKamil Dudka <kdudka@redhat.com>
Mon, 27 Jul 2009 09:37:47 +0000 (11:37 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 27 Jul 2009 15:10:39 +0000 (17:10 +0200)
commit493c48168490247c88e9fd20916432efc859c6a4
tree6decf44101d6c3e253c37786147342d1e71ff9b3
parent6edc9c972ea2c2e67252330b321a62cac52d896e
ls -1U dir arg ... now works again

* src/ls.c (print_dir): Emit "$dir_name:\n" *before* accumulating (and
possibly printing) directory entry names.
The bug was introduced in coreutils-7.0 via commit
8d974b00, 2008-07-30, "ls -U1 now uses constant memory".
Reported by Julian Bradfield.
* NEWS (Bug fixes): Mention it.
NEWS
THANKS
src/ls.c