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
pgpPibTw5bGps.pgp
Description: PGP signature
_______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
