summaryrefslogtreecommitdiff
path: root/bin/pax
AgeCommit message (Collapse)Author
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
2002-10-16Slight KNF and return -1 on no match, not EOFTodd C. Miller
2002-10-16Fix comment typos; most from NetBSD and FreeBSDTodd C. Miller
2002-10-16kill registerTodd C. Miller
2002-10-16Sync date parsing code with that in date(1) (which is obviously what pax'sTodd C. Miller
date code was based on). It is now possible to specify 4 digit years.
2002-10-15Time ranges were documented incorrectly; Christian von RoquesTodd C. Miller
We should probably add support for specifying the century too...
2002-09-06do not return voidTheo de Raadt
2002-07-17Pass the size of the name buffer to rep_name() for use with strlcpy().Christian Weisgerber
Fixes truncation of replacement string. ok millert@
2002-06-09revert one of wrong strlcpy() changeJun-ichiro itojun Hagino
2002-06-09rm trailing whitespaceTodd T. Fries
2002-06-09strlcpy fix, PR 2727Jun-ichiro itojun Hagino
2002-05-25typo fixes; S@mSmith.netTheo de Raadt
2002-05-24examples subsection; s@msmith.netTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-16A better way to escape the punctuation chars in the examples.Marco S Hyman
Fix other examples. Thanks to wiz@danbala.ifoer.tuwien.ac.at
2002-01-15sometimes trailing spaces are required for proper formatingMarco S Hyman
2002-01-02Grammar. deraadt@ okThomas Nordin
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok
2001-12-19When writing tar and ustar archives, zero out the header before weTodd C. Miller
do anything else to it. This lets us restore the strlcpy() calls and remove a buch of memset()s that were zeroing out individual fields of the header.
2001-12-19More strlcpy() backout. Various tar programs require ustar headerTodd C. Miller
elements to be zero padded too.
2001-12-19Back out a strncpy -> strlcpy conversion. When writing old styleTodd C. Miller
tar files we need to zero-pad the file name or many tars will get a directory checksum error trying to unpack the archive. This does not affect ustar archives (pax's default) though whether or not padding matters there still needs to be determined.
2001-11-05mark a zone of signal racesTheo de Raadt
2001-10-25Make -h and -L follow symlinks on extraction of directories.Niklas Hallqvist
This means that existing symbolic links won't get overwritten with a directory, but instead the directory is created/updated with the privs from the archive at the end of the symlink chain. Great for unpacking OpenBSD release tarballs, where you have linked away stuff due to lack of space on a certain partition etc.
2001-10-06s/standrad/standard/Niklas Hallqvist
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
2001-09-05make sure that va_start() has matching va_end()Theo de Raadt
2001-07-17Add a safe_print() function that uses vis(3) if output is a tty.Todd C. Miller
Uses the vis C-style mode which is consistent with what GNU tar does (though GNU tar does vis(3) regardless of whether output is a tty). It may make sense to add a flag to force vis(3)ification like ls does but I have not done that here as I'm reticent to add more flags.
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-04Eat backslashes in regex's so things like:Todd C. Miller
-s '/\/bin\/cat/\/bin\/dog/' work. This means we have to be a bit more clever in finding the pattern delimeters (ie: not strchr).