summaryrefslogtreecommitdiff
path: root/bin/pax
AgeCommit message (Collapse)Author
1998-01-22Preserve uid/gid if invoked as tar and extracting as root.Todd C. Miller
This is traditional tar behavior.
1997-09-21$OpenBSD$Theo de Raadt
1997-09-16Do not error out on archives without theNiklas Hallqvist
customary block of zeroes at the end.
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-08-17Don't include both strings.h and string.h -- just use string.hTodd C. Miller
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
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-07-23tabifykstailey
1997-06-18(foo *)0 -> NULLkstailey
1997-06-18(foo *)NULL -> NULLkstailey
1997-06-06geteuid(2) can never fail. What was I thinking?Todd C. Miller
1997-06-06POSIX says pax must complain about not being able to set permissionsTodd C. Miller
but we don't have to do that in non-pax modes.
1997-06-04Don't complain about not being able to set uid/gid in "tar -p"Todd C. Miller
(EPERM) unless the verbose flag is given or the user is root. Noted by Magnus Holmberg <mho@stacken.kth.se>.
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-06-03less strncpy; charnier@freebsdTheo de Raadt
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-10another 8MB of swap and it workskstailey
1997-04-09Fix typos. Pointed out by Carsten Hammer <chammer@post.uni-bielefeld.de>Todd C. Miller
1997-04-09sun3 pax/tar segfaultskstailey
1997-04-09the theTheo de Raadt
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-06Allow creation of archives with block sizes up to 64512 bytesTodd C. Miller
but complain about non-portability if > 32256 bytes. Brought up by George Robbins <grr@shandakor.tharsis.com>
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-04-02Deal with old-style tar archives with a directory specifier (extension).Todd C. Miller
1997-03-30Adjust the input string by the right amount if the pattern wasn't at theTodd C. Miller
beginning. From NetBSD (mycroft).
1997-03-26Note that default blocking factor is 20.Todd C. Miller
1997-03-26Blocking factor in tar is in 512byte blocks. Makes -b act likeTodd C. Miller
``real'' tars.
1997-03-25Back out my previous kludge to make tar files with short trailers work inTodd C. Miller
favor of a simpler change--never try to do a media change when invoked as tar. This fixes problems that crop up if gzip exits unhappily and others.
1997-03-11Use pax(1) for cpio(1) emulationThorsten Lockert
1997-03-05Add missing #includeThorsten Lockert
1997-03-04Do not post-process directories in cpio modeThorsten Lockert
1997-03-02Say how many blocks were read/written in cpio modeThorsten Lockert
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-02-16Don't give summary line at end when using tar formatThorsten Lockert
1997-02-16Correct handling of long filenames that has been stored with a prefix inThorsten Lockert
the archive; generate POSIXly correct padding of octal fields.
1997-02-10Permit single block trailers differently.Todd C. Miller
1997-02-10Don't freak out on archives with only a single block of 0's asTodd C. Miller
trailer (used to require two blocks of 0's but some tar's only put in one).
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-24Use mkstemp(3) for temporary filesThorsten Lockert
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-11-24Fix core dump if -xz and archive does not exist (doh!)Todd C. Miller