summaryrefslogtreecommitdiff
path: root/bin/pax
AgeCommit message (Collapse)Author
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).
2001-07-04Fix -s option, which never worked. We need to pass in the input stringTodd C. Miller
to resub() so we can copy the non-matching portion of the string to the destination. Closes PR #1889
2001-06-26really use strlcpy.lebel
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-05-26Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless.Todd C. Miller
Change NET2_STAT into LONG_OFF_T for portability to systems with a 32bit off_t.
2001-05-19Use an explicit memcpy() to copy a stat struct. Fixes a mysteriousTodd C. Miller
Memory fault on my hp300 boxes. This is more than a little worrisome (and it doesn't show up on i386). The problem may actually be related to struct alignment and the recent fts struct changes.
2001-05-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
2001-05-11add rcs tagsMichael Shalayeff
2001-05-01Remove completely redundant introductory sentences in ENVIRONMENT sections.Aaron Campbell
2001-02-12don't use long usernames by default; ok deraadt@Dan Harnett
2001-02-10Replace -T flag with more standard -I flag and make it work as a standardTodd C. Miller
argument (and thus work as in the 'packed' option form) as well as a positional argument. Our -T flag was basically equivalent to -I but different from gnutar's -T so -T gets thrown out.
2001-02-09another typoTodd C. Miller
2001-02-09no need to revert a change that just fixed a typoTodd C. Miller
2001-02-09Revert broken fix, until a correct fix is written.Marc Espie
Breaking all ports like that is not acceptable.
2001-02-07Fix -T option and add support for -C option in the file pointed toTodd C. Miller
by -T ala GNU tar. Based on a patch from woods@proven.weird.com; Closes PR #1664
2001-02-07Honor TMPDIR environment variable and document the fact.Todd C. Miller