summaryrefslogtreecommitdiffstats
path: root/bin/pax/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r280206:eadler2015-04-171-0/+1
| | | | | | | | | 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-1/+2
| | | | | | | | | | | 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.
* Don't decend into directories when -d is set and the directory itself doesn'tbrian2005-01-121-0/+1
| | | | | | | | match. PR: 28095 Submitted by: bill at twwells dot com MFC after: 7 days
* 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-8/+8
| | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha
* o __P has been reovedimp2002-02-021-142/+141
| | | | | | | | | 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-5/+15
| | | | | | | | | | | | | | 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-0/+1
| | | | | | | | | | | | | | 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
* Reduce diffs with OpenBSD:kris2001-04-261-2/+2
| | | | | | | | | | | | | | | | #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-0/+3
| | | | | Obtained from: OpenBSD Reviewed by: mikeh
* -Wnon-const-format sweep: make format strings const char *'s, addkris2001-04-171-3/+3
| | | | | | __printflike()/__printf0like() to function prototypes, as appropriate. Reviewed by: bde, -audit
* POSIX wrote:ru2001-03-021-1/+0
| | | | | | | | | | | | | : LC_TIME This variable shall determine the format and : contents of date and time strings when the -v : option is specified. Developers took this wrong. LC_TIME specifies the locale name, not the ``format'' argument of strftime(). Oops: pax -w -f /tmp/foo /dev/null LC_TIME=de_DE.ISO_8859-1 pax -v -f /tmp/foo
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Dont have an internal function named "warn" it clashes with libc..sos1997-08-291-3/+3
| | | | 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.
* Added $Id$dg1994-09-241-0/+1
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+285
OpenPOWER on IntegriCloud