summaryrefslogtreecommitdiffstats
path: root/bin/pax/file_subs.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r283257:delphij2015-06-051-1/+0
| | | | Eliminate unneeded includes.
* Fix a bunch of typos and a couple of whitespace nits.uqs2011-05-221-8/+8
| | | | Helped by: codespell and vim's spellchecker
* Before this fix, pax would stop the restore sequence forkientzle2009-02-011-36/+4
| | | | | | | | | | | | | symlinks after setting the owner. As a result, mode and timestamp were not restored. This patch corrects the problem by simply removing the short-circuit for symlinks and using lchown()/lchmod()/lutimes() always for restoring metadata. PR: bin/91316 Submitted by: Jaakko Heinonen Reviewed by: Joerg Sonnenberger MFC after: 14 days
* Cleanup pax(1) sources a little bit while I poked around in them:rse2007-05-241-1/+1
| | | | | - 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
* s/filesystem/file system/ as discussed on -developerstrhodes2002-08-211-13/+13
|
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Consistancy check s/file system/filesystem/trhodes2002-05-161-13/+13
| | | | Reviewed by: brian
* Ooops, forgot to remove the registers here.imp2002-02-021-24/+24
|
* o __P has been reovedimp2002-02-021-128/+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.
* Remove unnecessary casts in timeval.tv_sec load from st_*timedillon2001-10-281-4/+4
|
* Sync up with OpenBSD. Too many changes to note, but the major featureskris2001-05-081-8/+55
| | | | | | | | | | | | | | 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.
* 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
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Various spelling/formatting changes.kris1999-05-081-3/+3
| | | | 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-2/+1
| | | | | 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-29/+29
| | | | Needed for ELF.
* 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-6/+6
| | | | Reviewed by: phk
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+1055
OpenPOWER on IntegriCloud