summaryrefslogtreecommitdiffstats
path: root/bin/pax/options.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r280206:eadler2015-04-171-9/+15
| | | | | | | | | Implement pax -O option to permit limiting a PAX archive to a single volume. -O Force the archive to be one volume. If a volume ends prematurely, pax will not prompt for a new volume. PR: 198481
* Fix warnings found by -Wmising-variable-declarations.ed2012-10-191-0/+1
| | | | | | | | | | | This self-written compiler warning, which is hopefully going to be committed into LLVM sources soon, warns about potentially missing `static' keywords, similar to -Wmissing-prototypes. - bin/pax: Move external declaration of chdname and s_mask into extern.h. - bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h. - sbin/mount_fusefs: Remove char *progname; use getprogname(). - others: add `static' where possible.
* Fix a bunch of typos and a couple of whitespace nits.uqs2011-05-221-1/+1
| | | | Helped by: codespell and vim's spellchecker
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)markm2004-03-051-1/+1
| | | | | | | | | | | | | | | that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C). There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK. Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other". Tested on: i386 sparc64
* Fix a bazillion warnings. This makes almost the whole of src/bin/*markm2003-05-031-15/+15
| | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha
* Fix signed/unsigned mix comparisons involving sizeof.obrien2003-05-021-2/+3
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-2/+2
| | | | especially in troff files.
* Removed extra $FreeBSD$. Moved #if 0 for the vendor id to the correctbde2002-08-221-5/+3
| | | | place. Restored indent protection of copyright comment.
* s/filesystem/file system/ as discussed on -developerstrhodes2002-08-211-3/+3
|
* Consistently use FBSDIDobrien2002-06-301-0/+2
|
* Consistancy check s/file system/filesystem/trhodes2002-05-161-2/+2
| | | | Reviewed by: brian
* Do not return(f_returning_void());. Spell FALLTHROUGH to make it lint()able.charnier2002-04-121-9/+15
|
* Ooops, forgot to remove the registers here.imp2002-02-021-19/+19
|
* o __P has been reovedimp2002-02-021-100/+11
| | | | | | | | | 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-62/+569
| | | | | | | | | | | | | | 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.
* Add -z flag to pax to allow gzipping of archive output. Add -z and -Z (gzipkris2001-05-051-5/+26
| | | | | | | | | | | | | | and compress) to pax when used in tar mode (invoked as 'tar') for compatibility with GNU tar. bzip2 functionality for further GNU tar compatibility will be added at a later date. Note in the manpage that -z is non-standard. Obtained from: OpenBSD Reviewed by: -hackers MFC after: 2 weeks
* Whitespace cleanup pass; reduce diffs with OpenBSD. No functional changes.kris2001-04-261-11/+11
|
* Reduce diffs with OpenBSD:kris2001-04-261-34/+34
| | | | | | | | | | | | | | | | #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
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
* Don't explicitly declare optarg and optind. These are declared inimp2000-08-161-2/+0
| | | | unistd.h, which is already included.
* $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-3/+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-15/+15
| | | | Needed for ELF.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* 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
* You will find enclosed some changes to make gcc -Wall more happy injoerg1995-03-191-16/+16
| | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+1140
OpenPOWER on IntegriCloud