[Top][All Lists]

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

Re: [Bug-tar] interix timestamp issues

From: Paul Eggert
Subject: Re: [Bug-tar] interix timestamp issues
Date: Thu, 12 May 2011 00:20:04 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110424 Thunderbird/3.1.10

On 05/11/11 23:51, Markus Duft wrote:
> the fd in fdutimensat is 4, whereas in utimens, which is then called from 
> somewhere in there,
> it is -1, so i can't do a fsync()

If I understand things correctly, there's a simpler fix.  fdutimensat calls
futimens (fd, ts), which invokes fdutimens (fd, NULL, ts), which invokes
fsync (fd) if HAVE_BUGGY_NFS_TIME_STAMPS is nonzero.  So, please
try prepending the following to utimens.c:


Also, which version of Interix are you using?  Is a new version available,
or are patches available, to fix this file system bug?  It'd be nice to
mention any such information in a comment in the code.

reply via email to

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