Raphael Hertzog wrote:
> On Sat, 12 Feb 2011, Jonathan Nieder wrote:

>>  2. Raphaël, maybe dpkg-source could do something like this?
>>     utime does not return ENOENT unless all its arguments do not
>>     exist.
>
> What's the point? I don't see how it matters...

When the filesystem is NFS, "utime(undef, undef, @files);" sets mtime
and atime to the current time on the server side.  The time() function
returns the current time on the client side.  The two can disagree,
producing breakage.

Everything else (normal modification, "touch") uses the time on
the server side, so to avoid problems in the presence of time skew,
dpkg-source should, too.

Is that clearer?
Jonathan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to