bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] GNU tar 1.28: tests 161 163 fail on !Linux


From: Christian Weisgerber
Subject: Re: [Bug-tar] GNU tar 1.28: tests 161 163 fail on !Linux
Date: Wed, 6 Aug 2014 17:56:44 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

(Replying to Nathan Treadway; I'm not subscribed to this list.)

> >   mkdir foo
> >   mkdir bar
> >   echo foo/foo_file > foo/foo_file
> >   echo bar/bar_file > bar/bar_file
> >   decho A
> >   tar -cvf foo.tar --remove-files -C foo . -C ../bar .
> >   decho B
> >   find .

> Do you happen to still have tar 1.27.1 available on these test systems? 
> I am fairly certain that tar's behavior in these cases (i.e.
>   tar -cvf foo.tar --remove-files -C foo . -C ../bar .
> and
>   tar -rvf foo.tar --remove-files -C foo . -C ../bar .
> ) hasn't changed between 1.27.1 and 1.28, but it would be interesting to
> know for sure if those operations fail in 1.27.1, too.

Yes, they fail in 1.27.1, too.

FWIW, I also tried building tar with ac_cv_func_unlinkat=no, but
that does not circumvent the problem:

 ...
 79712 gtar     CALL  fchdir(0x4)
 79712 gtar     RET   fchdir 0
 79712 gtar     CALL  rmdir(0x801451068)
 79712 gtar     NAMI  "../bar"
 79712 gtar     RET   rmdir -1 errno 2 No such file or directory
 ...

-- 
Christian "naddy" Weisgerber                          address@hidden



reply via email to

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