summaryrefslogtreecommitdiffstats
path: root/bin/pax/cpio.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate unneeded includes.delphij2015-05-211-2/+0
| | | | MFC after: 2 weeks
* Fix a bunch of typos and a couple of whitespace nits.uqs2011-05-221-4/+4
| | | | Helped by: codespell and vim's spellchecker
* Fix some of the alignment warnings on ARM.ru2006-11-271-9/+9
|
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Fix a bazillion warnings. This makes almost the whole of src/bin/*markm2003-05-031-1/+1
| | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha
* Fix signed/unsigned mix comparisons involving sizeof.obrien2003-05-021-6/+6
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-2/+2
| | | | especially in troff files.
* Fix format string errors relating mainly to the use of %qu to print off_t's.tjr2002-10-061-2/+3
| | | | | | | | | Instead use %ju and cast the argument. WFORMAT=0 is still required in the Makefile because gcc warns about some strftime() calls (I don't think this behaviour is useful.) Tested on: sparc64, alpha, i386
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* Ooops, forgot to remove the registers here.imp2002-02-021-24/+24
|
* o __P has been reovedimp2002-02-021-135/+3
| | | | | | | | | 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.
* Various string fields for certain cpio types are 11 rather then 8dillon2001-10-281-6/+15
| | | | | | | | | characters. Use quad conversion functions rather then long conversion where appropriate to handle the available range. Mainly fixes time_t but there was also a st_size ulong conversion in there that has to be quad or cpio cannot be used to copy files > 2G. MFC after: 1 day
* Whitespace cleanup pass; reduce diffs with OpenBSD. No functional changes.kris2001-04-261-1/+1
|
* Reduce diffs with OpenBSD:kris2001-04-261-41/+41
| | | | | | | | | | | | | | | | #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-2/+2
| | | | 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-19/+19
| | | | 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-3/+3
| | | | Reviewed by: phk
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+1278
OpenPOWER on IntegriCloud