NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/44498 CVS commit: src/tests/bin/pax
The following reply was made to PR bin/44498; it has been noted by GNATS.
From: Mouse <mouse%Rodents-Montreal.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: PR/44498 CVS commit: src/tests/bin/pax
Date: Mon, 5 Aug 2024 01:22:46 -0400 (EDT)
> tests/bin/pax: Add test for pax list in an ungettable cwd.
> pax(1): Don't require open(".") or getcwd to work for list
> operation.
While this is good, it fixes only part of the problem. Using tar
syntax because I don't know pax's command line enough to write the
corresponding pax commands, there are plenty of other commands, such as
"tar cf - ." or "tar xf -", that also have no call to care what their
current directory is but which refuse to run when getcwd() fails, both
in a test I just did on 5.2 using a symlink named "tar" to pax and,
based on jacob.pipkin%icloud.com@localhost's recent mail to tech-userlevel, in
something more recent for at least pax's "tar -tvf -".
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index