On second thought, that patch is so obviously needed that I installed it on the trunk. Here it is again. Not sure whether it should be on the b5.9x branch at this point.
2006-06-11 Paul Eggert <[EMAIL PROTECTED]> * tests/cp/same-file: Execute 'ls' in the C locale, so that it uses POSIX time stamp formats. Problem reported by John Nixon in <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00062.html>. --- tests/cp/same-file 23 Jun 2004 15:07:04 -0000 1.39 +++ tests/cp/same-file 11 Jun 2006 07:58:03 -0000 @@ -74,7 +74,7 @@ for args in 'foo symlink' 'symlink foo' # and put brackets around the output. test -s _err && echo "[`sed 's/^[^:][^:]*:/cp:/' _err`]" # Strip off all but the file names. - ls="`ls -gG --ignore=_err . \ + ls="`LC_ALL=C ls -gG --ignore=_err . \ | sed \ -e '/^total /d' \ -e 's/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *//'`" _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils