summaryrefslogtreecommitdiffstats
path: root/bin/pax/tar.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* uid_from_user() and gid_from_user() return -1 when indicating error,deraadt2019-06-241-3/+3
* Use the new libc uid_from_user() and gid_from_group() instead ofmillert2018-09-131-22/+7
* Carefully add casts to silence clang sign-compare warnings. ok millert@otto2017-09-161-4/+5
* there is no offical way to get the max value of time_t, but this one worksotto2017-09-121-3/+3
* Avoid clang warning and make code better by using a signed long;otto2017-09-081-4/+4
* Don't need <sys/time.h> or "options.h" hereguenther2016-08-261-2/+1
* Replace name_{uid,gid}() with the libc routines user_from_uid() andguenther2016-08-251-24/+11
* Remove many unnecessary casts. Verified by comparing generated code onguenther2016-08-141-23/+23
* Replace u_quad_t with unsigned long long and replace "uqd" with "ull" inguenther2016-08-141-27/+29
* To archive a 101 character absolute path in ustar format we mustguenther2016-02-151-7/+14
* Add PAX_IS_{REG,HARDLINK,LINK} macros to simply many file type testsguenther2015-03-171-6/+5
* Handle tar -o by setting the tar_nodir directly instead of faking up aguenther2015-03-151-2/+2
* Unrevert post-unlock:guenther2015-03-091-36/+81
* Recent changes haven't been completely stable, so revert for the 5.7 releaseguenther2015-02-211-81/+36
* Correct buffer overflow in handling of pax extension headers, caughtguenther2015-01-291-36/+81
* Map negative mtimes to zero instead of skipping the affected files.guenther2014-02-191-5/+7
* Zap trailing whitespaceguenther2014-01-081-2/+2
* Eliminate poisonous LONG_OFF_T conditionalguenther2014-01-081-19/+1
* Mark some functions as printf-like and fix a bogus format stringguenther2014-01-081-3/+3
* add unsigned char casts for specific calls to ctype.h macros.deraadt2013-11-211-2/+2
* cpio and ustar formats store times in octal fields that are 11 charactersguenther2013-07-031-9/+15
* The tweaks I suggested to the previous diff resulted in the typeflagguenther2013-04-111-8/+8
* Add extended header support for ustar. Currently only path and linkpath arefgsch2013-04-091-17/+105
* Enable support for write_opt=nodir for ustar archives which helps to fixzhuk2013-03-271-1/+7
* remove some unnecessary sys/param.h inclusionsderaadt2012-12-041-2/+1
* a -N option for tar that uses numeric only IDs, useful for cross systemtedu2010-12-021-5/+10
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
* Properly take into account that the name and prefix field in the tarotto2006-03-041-8/+11
* Avoid sign extend when writing time stamps; fixes "tar: Ustar headerotto2005-12-171-4/+4
* Fix writing of old-style tar headers. Filenames and linknames actuallyotto2005-06-131-10/+16
* Use a special crafted string copy function to copy data from ustarotto2005-04-281-13/+8
* fix strlcpy abuse in pax - this commit turns potential overflows intobeck2005-04-211-2/+4
* add the prefix length to nlen for ustar; ok otto millertmarkus2005-04-141-3/+3
* Handle path names of exactly 100 chars correctly. Based on a diffotto2005-04-101-8/+12
* If a uid or gid does not fit into into the tar header, issue a warningotto2004-10-231-4/+35
* spacingderaadt2004-04-161-8/+8
* Add support for expanding GNU long links from NetBSD. I've had thismillert2004-03-301-41/+39
* protos. this requires changing the api for the *trail() functions a bitderaadt2003-06-261-3/+3
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
* Pull in some changes from NetBSDmillert2002-10-181-4/+48
* sprinkle const; mostly from NetBSDmillert2002-10-161-3/+3
* Fix comment typos; most from NetBSD and FreeBSDmillert2002-10-161-5/+5
* kill registermillert2002-10-161-33/+33
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-107/+2
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-6/+6
* When writing tar and ustar archives, zero out the header before wemillert2001-12-191-36/+20
* More strlcpy() backout. Various tar programs require ustar headermillert2001-12-191-7/+13
* Back out a strncpy -> strlcpy conversion. When writing old stylemillert2001-12-191-6/+7
* really use strlcpy.lebel2001-06-261-5/+5
* use strlcpy vs strncpy+a[len-1]='\0'lebel2001-06-261-8/+5