bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-tar] interix timestamp issues


From: Eric Blake
Subject: Re: [Bug-tar] interix timestamp issues
Date: Fri, 13 May 2011 07:57:13 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 05/13/2011 07:07 AM, Markus Duft wrote:
> On 05/13/11 08:27, Paul Eggert wrote:
>> On 05/12/11 23:15, Markus Duft wrote:
>>> maybe i could even implement a futimes by memorizing the timestamps and 
>>> re-setting them after closing the file...

Of course, you should not reset timestamps if some other read or write
action occurs after the futimes but before the close; but I'm assuming
you've considered that case.

>>>
>>> would that be better than hacking around in gnulib? libsuacomp is required 
>>> anyway to get a more sane system.
>>
>> Yes, thanks, that sounds like a better plan.

Agreed - that is, gnulib should document that libsuacomp is a
prerequisite for running on Interix.

> 
> ok, i have sync() and futimes() almost finished on interix, and the good news 
> is: tar is working again :)
> 
> so thanks for the help, and keep up the good work!

Likewise to you, for taking on the task of Interix porting.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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