[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] interix timestamp issues
From: |
Markus Duft |
Subject: |
Re: [Bug-tar] interix timestamp issues |
Date: |
Thu, 12 May 2011 10:38:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110506 Lightning/1.0b3pre Thunderbird/3.1.10 |
On 05/12/11 09:20, Paul Eggert wrote:
> 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:
this doesn't help, and doesn't even compile, as interix also doesn't have
sync() (it does have fsync(fd)), which is used if fd < 0 :(
>
> #if __INTERIX
> # define HAVE_BUGGY_NFS_TIME_STAMPS 1
> #endif
>
> 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.
i'm using interix 6.1 on windows 7, which is the most current version
available. microsoft has the extraordinary cool policy of not giving a ....
about interix, and thus will never release any fixes for the SUA sdk, not for
old versions, and not for the latest and greatest. i've had some lengthy
correspondence with redmon in this regard, and, sad enough, interix users
cannot expect any form of support or fixes (this is why i started the suacomp
project).
- Re: [Bug-tar] interix timestamp issues (was: listed-incremental broken in 1.25 on Solaris 10), Markus Duft, 2011/05/12
- Re: [Bug-tar] interix timestamp issues, Paul Eggert, 2011/05/12
- Re: [Bug-tar] interix timestamp issues,
Markus Duft <=
- Re: [Bug-tar] interix timestamp issues, Paul Eggert, 2011/05/12
- Re: [Bug-tar] interix timestamp issues, Markus Duft, 2011/05/13
- Re: [Bug-tar] interix timestamp issues, Paul Eggert, 2011/05/13
- Re: [Bug-tar] interix timestamp issues, Markus Duft, 2011/05/13
- Re: [Bug-tar] interix timestamp issues, Eric Blake, 2011/05/13
- [PATCH] update DEPENDENCIES for interix, mduft, 2011/05/16
- Re: [PATCH] update DEPENDENCIES for interix, Eric Blake, 2011/05/16
- Re: [PATCH] update DEPENDENCIES for interix, Markus Duft, 2011/05/16
- Re: [PATCH] update DEPENDENCIES for interix, Bruno Haible, 2011/05/16
- Re: [PATCH] update DEPENDENCIES for interix, Markus Duft, 2011/05/17