summaryrefslogtreecommitdiffstats
path: root/bin/pax
Commit message (Collapse)AuthorAgeFilesLines
* Document missing multibyte character handling in utilities specifiedtjr2004-07-031-1/+5
| | | | by POSIX.
* Deal with double whitespace.ru2004-07-031-2/+2
|
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+2
|
* Don't continue if the '-C' option (a-la GNUtar; commited in options.cobrien2004-06-251-1/+3
| | | | | | | | rev 1.18, but not documented in the man page) caused a failed chdir. Otherwise, one can easily overwrite files. Submitted by: Robert Nagy <robert@openbsd.org> Obtained from: OpenBSD
* Use WARNS?=3 for these in the arm case for now, due to toolchain issues.cognet2004-05-141-0/+4
|
* Remove clause 3 from the UCB licenses.markm2004-04-0626-104/+0
| | | | OK'ed by: imp, core
* Fix memory leakcperciva2004-03-161-2/+2
| | | | | | | PR: bin/64321 Submitted by: Rodney Ruddock <rodney@interopsystems.com> MFOpenBSD: rev 1.17 MFC after: 3 days
* 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
* Get this area compiling with the highest WARNS= that it works with.markm2003-06-131-1/+0
| | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386
* Fix a bazillion warnings. This makes almost the whole of src/bin/*markm2003-05-0311-75/+88
| | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha
* Quiet warnings about copyright[].obrien2003-05-021-2/+2
|
* Fix signed/unsigned mix comparisons involving sizeof.obrien2003-05-023-11/+13
|
* Add the -j and -y options to the synopsis.tjr2003-05-011-1/+1
|
* Make the "tarcp" example more direct.obrien2003-01-101-5/+5
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-0110-21/+21
| | | | especially in troff files.
* Ensure all va_starts have a matching va_end.tjr2002-10-061-1/+1
| | | | Obtained from: NetBSD
* /dev/sa0 is the default tape device, not /dev/rst0.tjr2002-10-062-6/+6
|
* Fix format string errors relating mainly to the use of %qu to print off_t's.tjr2002-10-064-9/+15
| | | | | | | | | 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
* 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-2113-37/+37
|
* Fix a couple of typos in a comment.keramida2002-07-152-3/+3
| | | | | PR: docs/33559 Submitted by: Marc Olzheim <marcolz@ilse.nl>
* Consistently use FBSDIDobrien2002-06-3016-31/+32
|
* more file system > filesystemtrhodes2002-05-161-1/+1
|
* Consistancy check s/file system/filesystem/trhodes2002-05-1612-33/+33
| | | | Reviewed by: brian
* Use `The .Nm utility'charnier2002-04-211-23/+24
|
* Use `The .Nm utility'charnier2002-04-202-5/+5
|
* Do not return(f_returning_void());. Spell FALLTHROUGH to make it lint()able.charnier2002-04-121-9/+15
|
* No need to cast; ().gr_gid is already the correct type.markm2002-03-221-1/+1
|
* Correct inadvertent style botches in previous commit.kris2002-02-041-2/+1
|
* Lock down with WFORMAT=1 except those directories with unfixed warnings.kris2002-02-041-0/+2
| | | | Tested on i386 and alpha.
* Ooops, forgot to remove the registers here.imp2002-02-0214-318/+318
|
* o __P has been reovedimp2002-02-0217-1342/+181
| | | | | | | | | 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.
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-0/+1
| | | | | | set WARNS=0. Reviewed by: mike
* Use a quad int conversion routine for time_t instead of ulong, capable ofdillon2001-10-281-2/+4
| | | | decoding tar's full time buffer (12 digits).
* 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
* Remove unnecessary casts in timeval.tv_sec load from st_*timedillon2001-10-281-4/+4
|
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-1/+4
|
* Initialize listf at main()peter2001-08-131-1/+2
|
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-7/+6
|
* Remove whitespace at EOL.dd2001-07-151-39/+39
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+6
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-2/+0
|
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+2
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* Minor comment fiximp2001-05-301-1/+1
|
* mdoc(7) police: fix markup, rename and reorder some sections.ru2001-05-082-78/+104
|
* mdoc(7) police: sort xrefs.ru2001-05-081-2/+2
|
* Sync up with OpenBSD. Too many changes to note, but the major featureskris2001-05-0821-209/+1562
| | | | | | | | | | | | | | 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-055-13/+107
| | | | | | | | | | | | | | 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-2610-80/+82
|
OpenPOWER on IntegriCloud