This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: untarring symlinks with ../ fails randomly
Dan Grayson <dan <at> math.uiuc.edu> writes:
>
> Here is a patch to tar that fixes the problem by using mtime instead of ctime.
> Yes, it's not a problem with cygwin or tar, but I see no way for users to
> figure out, under Windows, which processes are changing the status of their
> files.
>
> diff -ur tar-1.25-copy/src/extract.c tar-1.25/src/extract.c
> --- tar-1.25-copy/src/extract.c 2010-11-01 15:34:59.000000000 -0500
> +++ tar-1.25/src/extract.c 2011-04-27 09:12:58.941555800 -0500
...
>
I ran your patch on tar-1.26 and it compiled just fine. With the new tar I have
no tar/untar problems on two Win7 Ult x64 PCs running up to date Cygwins.
Thanks.
Lester
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple