Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-11-17 | Fix extracting and setting permissions for tar archives when | Otto Moerbeek | |
(multiple) -C options are present and/or (multiple) file selections args are used. Based on a diff in NetBSD PR 22995. Tested by ckuethe@ and jaredy@; ok jaredy@ | |||
2005-04-28 | Use a special crafted string copy function to copy data from ustar | Otto Moerbeek | |
headers to the generic pax structs. ustar is "funny" since some fields are not always NUL terminated. Old-style tar headers and ustar creation remains to be done. ok millert@ beck@ | |||
2005-04-25 | Use the various f* functions to set owner, mode and times, instead | Otto Moerbeek | |
of operating on the path name. Avoids some races. ok deraadt@ cloder@ millert@ | |||
2004-11-29 | Build the table of created directories in-memory, instead of using | Otto Moerbeek | |
a tmp file. Makes it possible to unpack an archive without using /tmp, while memory usage is still within every reasonable limit. "love it" deraadt@ ok millert@ jaredy@ | |||
2004-03-30 | Add support for expanding GNU long links from NetBSD. I've had this | Todd C. Miller | |
in my tree for ages but didn't have a proper test case. Thanks to otto@ for providing one. | |||
2003-06-26 | protos. this requires changing the api for the *trail() functions a bit | Theo de Raadt | |
2003-06-13 | Add a -0 flag to make pax use a NUL instead of a newline as the | Todd 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-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-10-18 | Pull in some changes from NetBSD | Todd 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-16 | sprinkle const; mostly from NetBSD | Todd C. Miller | |
2002-10-16 | kill register | Todd C. Miller | |
2002-02-16 | Part 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. | |||
2001-07-17 | Add 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-26 | Get 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-16 | use proper str*cpy functions instead of home grown one, spaces; millert@ ok | Michael Shalayeff | |
2001-02-07 | Honor TMPDIR environment variable and document the fact. | Todd C. Miller | |
2000-06-09 | Some 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-20 | When 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-24 | Stash 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-04 | Fix 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-05 | Strip leading '/' of pathnames (only in tar mode). -S option turns | Todd C. Miller | |
this off like GNU tar. | |||
1997-03-02 | More complete cpio(1) emulation | Thorsten Lockert | |
1997-02-27 | fix pr system/124, reported by Janjaap van Velthooven (janjaap@stack.nl). | michaels | |
1997-01-26 | Support lchown(). | Jason Downs | |
1997-01-24 | Support multiple -v options like GNU tar (> 1 -v means do ls-like output). | Todd C. Miller | |
1996-12-09 | revert to spawning compress-ing program. normally we want extracts using | Theo 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-27 | Initial cut -C support in paxtar. Exceeds GNU tar by quite a bit. | Jason Downs | |
General pax still seems to work ok. | |||
1996-09-22 | Use zopen for compress-style compressed archives | Thorsten Lockert | |
Use libz for gzip-style compressed archives | |||
1996-06-23 | update rcsid | Theo de Raadt | |
1996-06-11 | Correct compile warnings | Thorsten Lockert | |
Rename warn() to paxwarn() so <err.h> can be included Remove #include <ctype.h> when not needed; from FreeBSD | |||
1996-04-19 | from mrg; impliment -z (gzip) in pax and tar, and -Z (compress) in tar | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |