Paul D. Smith wrote:

> Hmm.  Are you using Irix "cp" to do this?  If so, this may be a bug in
> the Irix "cp" command.  Maybe.
> 
> If you're using another cp, then that's probably your problem...

Good idea. I checked and found, by putting explicit paths to cp in
the makefile that /usr/bin/cp, /sbin/cp, and /usr/freeware/bin/cp
(GNU fileutils 3.16) all exhibit the same behavior.

> GNU make 3.79 uses the nanosecond field of struct stat, if the system
> provides it.  If the version of "cp -p" you're using doesn't correctly
> copy the value of the nanosecond timestamp field over along with the
> rest of the timestamp, you'd get the behavior you describe (because "a"
> has a timestamp of x.00010 seconds (for example), while "b" has a
> timestamp of x.00000 seconds).

I presume your implying that this behavior is new to make-3.79.
Is there a later version of GNU cp which copies across the
nanosecond field also? It seems that even the SGI versions do not.

-- 
Darren Hiebert <[EMAIL PROTECTED]>
XonTech, Inc.  (256) 971-2977

Reply via email to