summaryrefslogtreecommitdiffstats
path: root/bin/pax/tables.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary free argument casts.brian2007-05-251-14/+14
| | | | Don't abuse arcname's constness.
* Cleanup pax(1) sources a little bit while I poked around in them:rse2007-05-241-14/+14
| | | | | - remove a superfluous doubled trailing semicolon. - remove the extra void casts on calls to void-function free(3).
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-4/+4
| | | | especially in troff files.
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Ooops, forgot to remove the registers here.imp2002-02-021-41/+41
|
* o __P has been reovedimp2002-02-021-137/+1
| | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
* Sync up with OpenBSD. Too many changes to note, but the major featureskris2001-05-081-6/+7
| | | | | | | | | | | | | | are: * Implement cpio compatibility mode when pax is invoked as cpio * Extend tar compatibility mode to cover many of the GNU tar single-letter options (bzip2 mode, aka -y/-j is not present in OpenBSD). When invoked as tar, pax is now full-featured enough for use by the ports collection to extract distfiles and create packages. * Many bug fixes to the operation of pax and the tar compatibility modes * Code fixes for things like correct string buffer termination. I tried to preserve existing FreeBSD fixes to this utility; please let me know if I have inadvertently spammed something.
* Whitespace cleanup pass; reduce diffs with OpenBSD. No functional changes.kris2001-04-261-16/+18
|
* Reduce diffs with OpenBSD:kris2001-04-261-45/+45
| | | | | | | | | | | | | | | | #if __STDC__ -> #ifdef __STDC__ pax_warn() -> paxwarn() sys_warn() -> syswarn() (foo *)NULL -> NULL bcopy -> memmove()/memcpy() bzero -> memset() Typo fixes sprintf() -> snprintf() rindex() -> strrchr() index() -> strchr() sys_errlist[] -> strerror() Obtained from: OpenBSD
* Use mkstemp() for secure tempfile creation instead of tempnam()kris2001-04-261-17/+10
| | | | | Obtained from: OpenBSD Reviewed by: mikeh
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Various spelling/formatting changes.kris1999-05-081-5/+5
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Correct use of .Nm. Add rcsid.charnier1998-05-151-3/+5
|
* Remove simultaneous include of <sys/param.h> and <sys/types.h>.eivind1997-12-101-4/+3
| | | | | Reorder includes to be alphabetical some places since I already was in here.
* Dont have an internal function named "warn" it clashes with libc..sos1997-08-291-24/+24
| | | | Needed for ELF.
* Off by 1 adjustment. Properly NUL terminate after strncpy.charnier1997-06-021-1/+3
| | | | Obtained from: {Net|Open}BSD
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* -Wall cleaning.steve1996-12-141-2/+2
|
* Remove unneded ctype.h everywhereache1995-10-231-2/+1
| | | | Add setlocale LC_TIME
* Remove trailing whitespace.rgrimes1995-05-301-14/+14
| | | | Reviewed by: phk
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+1426
OpenPOWER on IntegriCloud