bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: incorrect copy of modify time in cp


From: Paul Eggert
Subject: Re: incorrect copy of modify time in cp
Date: Tue, 17 Oct 2006 12:33:39 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Paul E Condon <address@hidden> writes:

> The mtime of a file is not copied fully when -a option is
> invoked. This can be seen only when --full-time is used to display the
> original and the copied files. In particular the last three digits of
> the copy mtime (the nano-seconds part) are always zero in the copy.

Most likely your operating system gives a program no way to set the
last three digits.  Coreutils can't do anything to fix this unless
there's OS support for this.

There is a proposal before the Open Group for system calls
"futimespec" and "futimespecat" that would do the right thing here; see
<http://www.opengroup.org/austin/mailarchives/ag-review/msg02086.html>.
If you could arrange to have your operating system support these two
system calls, we could change coreutils to use them.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]