Bug 242197

Summary: ls -x produces a garbled listing
Product: [Fedora] Fedora Reporter: Stephen Moehle <stephen.moehle>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: low    
Version: 7CC: mmahut
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-04 13:08:09 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Stephen Moehle 2007-06-02 01:21:05 EDT
"ls -x" or "ls --format=across" produces a garbled listing.

To reproduce, create a directory with the files a_file, b_file, ... i_file.

ls produces:

a_file  b_file  c_file  d_file  e_file  f_file  g_file  h_file  i_file

ls -x produces:

e_file  b_file  c_file  d_file  e_file  f_file  g_file  h_file  i_file

Notice that a_file is missing and e_file appears twice. This problem was not in
FC6 and is brand new with F7.
Comment 1 Marek Mahut 2007-06-03 05:24:46 EDT
bug in coreutils, reassigning
Comment 2 Marek Mahut 2007-06-03 05:26:41 EDT
bug is know to upstream, it was already fixed in CVS [1] 2 months ago


[1]
http://cvs.savannah.gnu.org/viewvc/coreutils/src/ls.c?revision=1.457&root=coreutils&view=markup
Comment 3 Tim Waugh 2007-06-04 13:08:09 EDT

*** This bug has been marked as a duplicate of 240298 ***