summaryrefslogtreecommitdiff
path: root/bin/pax/tar.c
AgeCommit message (Expand)Author
2015-03-17Add PAX_IS_{REG,HARDLINK,LINK} macros to simply many file type testsPhilip Guenther
2015-03-15Handle tar -o by setting the tar_nodir directly instead of faking up aPhilip Guenther
2015-03-09Unrevert post-unlock:Philip Guenther
2015-02-21Recent changes haven't been completely stable, so revert for the 5.7 releasePhilip Guenther
2015-01-29Correct buffer overflow in handling of pax extension headers, caughtPhilip Guenther
2014-02-19Map negative mtimes to zero instead of skipping the affected files.Philip Guenther
2014-01-08Zap trailing whitespacePhilip Guenther
2014-01-08Eliminate poisonous LONG_OFF_T conditionalPhilip Guenther
2014-01-08Mark some functions as printf-like and fix a bogus format stringPhilip Guenther
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2013-07-03cpio and ustar formats store times in octal fields that are 11 charactersPhilip Guenther
2013-04-11The tweaks I suggested to the previous diff resulted in the typeflagPhilip Guenther
2013-04-09Add extended header support for ustar. Currently only path and linkpath areFederico G. Schwindt
2013-03-27Enable support for write_opt=nodir for ustar archives which helps to fixVadim Zhukov
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2010-12-02a -N option for tar that uses numeric only IDs, useful for cross systemTed Unangst
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2006-03-04Properly take into account that the name and prefix field in the tarOtto Moerbeek
2005-12-17Avoid sign extend when writing time stamps; fixes "tar: Ustar headerOtto Moerbeek
2005-06-13Fix writing of old-style tar headers. Filenames and linknames actuallyOtto Moerbeek
2005-04-28Use a special crafted string copy function to copy data from ustarOtto Moerbeek
2005-04-21fix strlcpy abuse in pax - this commit turns potential overflows intoBob Beck
2005-04-14add the prefix length to nlen for ustar; ok otto millertMarkus Friedl
2005-04-10Handle path names of exactly 100 chars correctly. Based on a diffOtto Moerbeek
2004-10-23If a uid or gid does not fit into into the tar header, issue a warningOtto Moerbeek
2004-04-16spacingTheo de Raadt
2004-03-30Add support for expanding GNU long links from NetBSD. I've had thisTodd C. Miller
2003-06-26protos. this requires changing the api for the *trail() functions a bitTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-10-18Pull in some changes from NetBSDTodd C. Miller
2002-10-16sprinkle const; mostly from NetBSDTodd C. Miller
2002-10-16Fix comment typos; most from NetBSD and FreeBSDTodd 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
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-19When writing tar and ustar archives, zero out the header before weTodd C. Miller
2001-12-19More strlcpy() backout. Various tar programs require ustar headerTodd C. Miller
2001-12-19Back out a strncpy -> strlcpy conversion. When writing old styleTodd C. Miller
2001-06-26really use strlcpy.lebel
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-05-26Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless.Todd C. Miller
2001-05-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
2001-01-04spellingTodd T. Fries
2000-01-21Work with files larger than 2 Gb; from NetBSD change by mycroft@netbsd.orgThorsten Lockert
1998-10-19Fix off-by-one error when adding files of exactly 100 characters; wsanchez@ap...Todd C. Miller
1998-09-26fix storage of paths that are exactly 100 chars; mgw@pacbell.netTodd C. Miller
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-04Fix usage of l_strncpy() (noticed by Theo) and make l_strncpy()Todd C. Miller
1997-04-05Strip leading '/' of pathnames (only in tar mode). -S option turnsTodd C. Miller