summaryrefslogtreecommitdiff
path: root/bin/pax/options.c
AgeCommit message (Collapse)Author
1999-07-04New: tar -q option (for quick)Marc Espie
same as pax -n. Useful for packages.
1999-05-23getopt(3) returns -1, not EOFAaron Campbell
1999-04-29always check return value of strdup()Aaron Campbell
1998-12-07doc -z pax option; dTheo de Raadt
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
1998-03-31only preserve uid/gid if -p. This is unlike traditional tar but more like gtarTodd C. Miller
1998-03-03Correct -x and -p flags to be more like traditional tar and makeTodd C. Miller
the man page reflect reality. The -p flag only preserves the file mode (irrespective of umask) if possible. The -x flag tries to set user/group, mtime, and mode.
1998-01-22Preserve uid/gid if invoked as tar and extracting as root.Todd C. Miller
This is traditional tar behavior.
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-23tabifykstailey
1997-06-18(foo *)0 -> NULLkstailey
1997-06-18(foo *)NULL -> NULLkstailey
1997-05-29Fix -o option and add -O.Todd C. Miller
1997-04-16Change rmt -> rst and use _PATH_DEFTAPE as default file if none isTodd C. Miller
specified.
1997-04-12We need to copy the pathnames we get from fgetln() on stdin, as the bufferThorsten Lockert
will be reused.
1997-04-06Remove old -P flag since it doesn't do anything and make -P meanTodd C. Miller
"preserve leading /" like GNU tar (no longer use -S for this).
1997-04-05Fix bug introduced with "exit(0) if no files" behavior change.Todd C. Miller
1997-04-05Strip leading '/' of pathnames (only in tar mode). -S option turnsTodd C. Miller
this off like GNU tar.
1997-04-04Improvements based on commets by George Robbins <grr@shandakor.tharsis.com>Todd C. Miller
- ``tar cf'' will now just exit instead of waiting for a file list on stdin. The old behavior should be re-enabled with an option. - Better wording in tar man page for -o and -w
1997-04-02opt_add() needs to make a copy of the input string since it modifiesTodd C. Miller
it and new compilers don't let you write to constant strings. Problem (core dump when using -o) noted by Felix Schroeter.
1997-03-26Blocking factor in tar is in 512byte blocks. Makes -b act likeTodd C. Miller
``real'' tars.
1997-03-02More complete cpio(1) emulationThorsten Lockert
1997-02-27fix pr system/124, reported by Janjaap van Velthooven (janjaap@stack.nl).michaels
1997-02-20cpio emulation for paxThorsten Lockert
1997-01-24Support multiple -v options like GNU tar (> 1 -v means do ls-like output).Todd C. Miller
1996-12-09support pax '-s replstr' option in tar mode too. this can be used toTheo de Raadt
deal with cleaning up absolute paths
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-08-10Add support for -h in tar emulation mode to follow symlinksThorsten Lockert
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1996-06-11Default to "ustar" format when invoked as tarThorsten Lockert
1996-06-11Add -z and -Z options to tar usage stringsThorsten Lockert
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