summaryrefslogtreecommitdiff
path: root/bin/pax/gen_subs.c
AgeCommit message (Collapse)Author
2007-04-04For verbose archive listings, use -> for symlinks, not =>,Todd C. Miller
as per POSIX. From Igor Sobrado via jmc@. OK otto@
2005-04-28Use a special crafted string copy function to copy data from ustarOtto 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@
2003-06-13Add a -0 flag to make pax use a NUL instead of a newline as theTodd 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-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-10-16sprinkle const; mostly from NetBSDTodd C. Miller
2002-10-16kill registerTodd C. Miller
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
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-12don't use long usernames by default; ok deraadt@Dan Harnett
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-06-18(foo *)NULL -> NULLkstailey
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-01-24Support multiple -v options like GNU tar (> 1 -v means do ls-like output).Todd C. Miller
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
1995-10-18initial import of NetBSD treeTheo de Raadt