From e71be1292b92b244d065873fae5a17d5e1f0a16c Mon Sep 17 00:00:00 2001 From: Pádraig Brady <P@draigBrady.com> Date: Wed, 21 Oct 2015 13:57:41 +0100 Subject: ls: fix off by one error when determining max display columns * src/ls.c (main): Account for the first column not including a separator when calculating max_idx. * tests/ls/w-option.sh: Add a test case. * NEWS: Mention the bug fix. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 07b88b09c..e77158562 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,9 @@ GNU coreutils NEWS -*- outline -*- ** Bug fixes + ls no longer prematurely wraps lines when printing short file names. + [bug introduced in 5.1.0] + shred again uses defined patterns for all iteration counts. [bug introduced in coreutils-5.93] -- cgit v1.2.3-70-g09d2