[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#239288: coreutils: cp --preserve=timestamps -u copies repeatedly
From: |
Jim Meyering |
Subject: |
Re: Bug#239288: coreutils: cp --preserve=timestamps -u copies repeatedly |
Date: |
Mon, 12 Apr 2004 11:32:38 +0200 |
Paul Eggert <address@hidden> wrote:
> Jim Meyering <address@hidden> writes:
>
>> http://article.gmane.org/gmane.comp.gnu.coreutils.bugs/1464
>>
>> but no one has begun work on that, as far as I know.
>
> Here's a proposed implementation for that idea. It was a bit trickier
> than I thought it would be, mostly because I thought of more
> optimizations.
>
> 2004-03-27 Paul Eggert <address@hidden>
>
> * NEWS: cp -pu and mv -u (when copying) now take the destination
> file system time stamp resolution into account.
> * doc/coreutils.texi (mv invocation): Document this.
> (cp invocation): Document -u (it was missing!) with new behavior.
>
> * lib/utimecmp.c, lib/utimecmp.h, m4/utimecmp.m4: New files.
> * lib/Makefile.am (libfetish_a_SOURCES): Add utimecmp.c, utimecmp.h.
> * m4/prereq.m4 (jm_PREREQ): Require gl_UTIMECMP.
> * src/copy.c: Include "utimecmp.h".
> (copy_internal): Compare time stamps using utimecmp rather than
> MTIME_CMP.
Thanks for doing that.
I've applied those changes.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Bug#239288: coreutils: cp --preserve=timestamps -u copies repeatedly,
Jim Meyering <=