Paul Eggert wrote:
On 12/03/10 02:03, Jim Meyering wrote:
Would you mind adding a Bug fixes entry for this
in coreutils' NEWS file? It'd be nice to commit that
along with an update of the gnulib submodule to the latest.
Sure, done, with this notice:
cp -u no longer does unnecessary
X-Debbugs-cc: bug-coreutils@gnu.org, bug-m...@gnu.org
Package: coreutils
Version: 8.5-1
man cp says:
`-u'
`--update'
Do not copy a non-directory that has an existing destination with
the same or newer modification time. If time stamps are being
preserved, the comparison is to the
Good eye! Thanks for the bug report and example. I installed
the following one-byte patch into gnulib; please give it a try.
It should propagate into coreutils the next time coreutils
updates from gnulib.
A test case for this would require two file systems, one with
finer-grained time stamps