summaryrefslogtreecommitdiff
path: root/bin/pax/extern.h
AgeCommit message (Collapse)Author
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-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-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
2001-02-07Honor TMPDIR environment variable and document the fact.Todd C. Miller
2000-06-09Some minor cleanup, ok'd millert@Marc Espie
- remove zflag variable, since gzip_program is enough to know what's going on. - fix ar_gzip call to not depend on global variables. Avoid bogus act checks, avoid calling if fd == -1. - do gzip check for append as early as possible. - remove old K&R prototype when updating.
1998-09-20When invoked as tar, print verbose output to stdout, not stderr. If in list ↵Todd C. Miller
mode or in create mode where create output is to stdout print to stderr
1997-07-24Stash fd of cwd instead of using getcwd() to stash path.Todd C. Miller
This works in cases where the parent dir is not readable.
1997-06-04Fix usage of l_strncpy() (noticed by Theo) and make l_strncpy()Todd C. Miller
pad with NULL's like strncpy(3). This eliminates the need for zf_strncpy(); ocurrences of zf_strncpy() have been changed to l_strncpy().
1997-04-05Strip leading '/' of pathnames (only in tar mode). -S option turnsTodd C. Miller
this off like GNU tar.
1997-03-02More complete cpio(1) emulationThorsten Lockert
1997-02-27fix pr system/124, reported by Janjaap van Velthooven (janjaap@stack.nl).michaels
1997-01-26Support lchown().Jason Downs
1997-01-24Support multiple -v options like GNU tar (> 1 -v means do ls-like output).Todd C. Miller
1996-12-09revert to spawning compress-ing program. normally we want extracts usingTheo de Raadt
'z' to also work on .Z files, but libz does not deal with compressed data. Hacking the code to deal well with pipes has proven very hard.
1996-10-27Initial cut -C support in paxtar. Exceeds GNU tar by quite a bit.Jason Downs
General pax still seems to work ok.
1996-09-22Use zopen for compress-style compressed archivesThorsten Lockert
Use libz for gzip-style compressed archives
1996-06-23update rcsidTheo de Raadt
1996-06-11Correct compile warningsThorsten Lockert
Rename warn() to paxwarn() so <err.h> can be included Remove #include <ctype.h> when not needed; from FreeBSD
1996-04-19from mrg; impliment -z (gzip) in pax and tar, and -Z (compress) in tarTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt