[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
regression in `ls -x` introduced between 6.7 and 6.8
From: |
Mike Frysinger |
Subject: |
regression in `ls -x` introduced between 6.7 and 6.8 |
Date: |
Sun, 1 Apr 2007 19:53:55 -0400 |
User-agent: |
KMail/1.9.6 |
seems a bug has slipped into ls.c when using -x ... here's the testcase:
$ mkdir ~/entries
$ cd ~/entries
$ touch computers home
$ ls ~/entries
computers home
$ ls -x ~/entries
home home
no LANG/LC_* vars are set ... one thing to note here is that the spacing for
the first "home" is the correct spacing for "computers" ...
testing vanilla coreutils-6.7 and coreutils-6.8 on x86/Linux shows that 6.7
behaves properly but 6.8 does not ... taking the ls.c from 6.7 and dropping
it into 6.8 gives correct behavior as well ... testing on amd64 doesnt seem
to exhibit this bug
the build was done in the default way:
./configure
make
./src/ls ...
also noticed that building with -O2 -Wall warns about displayed_width might be
used uninitialized ...
-mike
pgp1BDFSCJas1.pgp
Description: PGP signature
- regression in `ls -x` introduced between 6.7 and 6.8,
Mike Frysinger <=