summaryrefslogtreecommitdiff
path: root/bin/pax
AgeCommit message (Collapse)Author
2005-08-05strip multiple leading slashes from absolute paths; ok beck@Damien Miller
2005-08-04Make pax exit unsuccessfully on errors.Marco Pfatschbacher
Patch by fgsch@ and me. Fixes PR 4310. OK fgsch@ otto@ millert@
2005-06-13Fix writing of old-style tar headers. Filenames and linknames actuallyOtto Moerbeek
are not NUL terminated if the fill the whole field. ok millert@ jaredy@
2005-06-02add -O to getopt (ok otto) and sync usageJared Yanovich
2005-06-02sort optionsJared Yanovich
2005-06-02- simplify usageJared Yanovich
- rearrange examples - layout tweaks - minor macro, punctuation, etc. fixes ok jmc
2005-05-24variety of man page fixesJared Yanovich
- add non-legacy synopsis (and sync usage) - sort options - refer to synopsis arguments consistently - rearrange examples - mdoc tweaks - mention glob patterns for -t and -x ok jmc, otto
2005-04-28Use a special crafted string copy function to copy data from ustarOtto Moerbeek
headers to the generic pax structs. ustar is "funny" since some fields are not always NUL terminated. Old-style tar headers and ustar creation remains to be done. ok millert@ beck@
2005-04-25Use the various f* functions to set owner, mode and times, insteadOtto Moerbeek
of operating on the path name. Avoids some races. ok deraadt@ cloder@ millert@
2005-04-21fix strlcpy abuse in pax - this commit turns potential overflows intoBob Beck
potential non-spec compliance - the use of these fields as strings needs to be revisited more thouroughly. ok millert@ otto@
2005-04-14add the prefix length to nlen for ustar; ok otto millertMarkus Friedl
2005-04-10Handle path names of exactly 100 chars correctly. Based on a diffOtto Moerbeek
from espie@. ok espie@ deraadt@
2004-11-29Build the table of created directories in-memory, instead of usingOtto Moerbeek
a tmp file. Makes it possible to unpack an archive without using /tmp, while memory usage is still within every reasonable limit. "love it" deraadt@ ok millert@ jaredy@
2004-10-23If a uid or gid does not fit into into the tar header, issue a warningOtto Moerbeek
and use the uid/gid of nobody. Spotted by and ok drahn@, ok millert@
2004-08-10-L and -h are synonymous; noticed by espie@Todd C. Miller
2004-06-20Do not go on if the -C option caused a failed chdir. ok millert@ henning@Niklas Hallqvist
2004-06-11Correct the code that identifies bogus regexps; Jared YanovichTodd C. Miller
2004-06-11Fix backref substitution in -s mode. Problem found and fix verifiedTodd C. Miller
by Jared Yanovich.
2004-04-16spacingTheo de Raadt
2004-03-30Add support for expanding GNU long links from NetBSD. I've had thisTodd C. Miller
in my tree for ages but didn't have a proper test case. Thanks to otto@ for providing one.
2004-03-16actually use the cache instead of throwing away memory. doh!Ted Unangst
from Rodney Ruddock ok deraadt@
2004-03-15more "if (foo);" ok millert@Damien Miller
2004-02-19filenames can have 100 chars, total pathname 255 in ustar format; not 250;Jason McIntyre
from pb@
2004-01-23`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))Jason McIntyre
discussed with todd@
2004-01-20When trying to append to a gzipped archive, print msg using errx(),Otto Moerbeek
not err(). ok millert@
2003-11-30Ignore -o/-O in non-extract mode. Earlier version OK'd by henning@Todd C. Miller
2003-11-21grammar improvements from Jared Yanovich;Jason McIntyre
2003-10-22quote args to make them expand properly;Jason McIntyre
2003-10-20typos from Jared Yanovich;Jason McIntyre
2003-09-08fix pr3455 from Joerg.Sonnenberger. slightly improved fix suggested byTed Unangst
millert@. ok beck@ deraadt@ millert@
2003-08-16more errx/warnx style \n errors; tom.cosgrove@arches-consulting.comTheo de Raadt
2003-08-08use sizeof with strlcpy() when possible; it is less error prone.Todd C. Miller
From Patrick Latifi; ok avsm@ and krw@
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-07-02missing protosTheo de Raadt
2003-06-26protos. this requires changing the api for the *trail() functions a bitTheo de Raadt
2003-06-13Add a -0 flag to make pax use a NUL instead of a newline as theTodd C. Miller
pathname separator. Works in list mode as well as read/copy mode. Based on a patch from David Leonard; closes PR 3310
2003-06-04term 3 & 4 from tholo after permissionTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-29missing full stop.Jason McIntyre
2003-05-29- section reorderJason McIntyre
- removed unnecessary .Pp and .Ns
2003-04-28typos;Jason McIntyre
suggestions, corrections and ok millert@
2003-04-20incorrect macro, with too many arguments;Jason McIntyre
2003-03-12more .LiTheo de Raadt
2003-03-10double words in commentsDavid Krause
ok millert@
2003-03-04do not use angle brackets for error indication; christosTheo de Raadt
2003-02-03typos;Jason McIntyre
from netbsd(svs+pr@grep.ru) suggested by deraadt@
2002-11-29inconsistant spelling; torh@bogus.netTheo de Raadt
2002-11-29Foward; torh@bogus.netTheo de Raadt
2002-10-18Pull in some changes from NetBSDTodd C. Miller
o When extracting GNU tar archives, honor @LongLink long links/files o Add an option to prevent pax from prompting for the next volume upon premature end of archive.
2002-10-16sprinkle const; mostly from NetBSDTodd C. Miller