summaryrefslogtreecommitdiff
path: root/bin/pax/ftree.c
Commit message (Collapse)AuthorAgeFilesLines
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Fix a bunch of typos and a couple of whitespace nits.Ulrich Spörlein2011-05-221-2/+2
| | | | | | | Helped by: codespell and vim's spellchecker Notes: svn path=/head/; revision=222177
* Add missing `void' for function without arguments.Ed Schouten2009-12-291-1/+1
| | | | Notes: svn path=/head/; revision=201179
* Don't decend into directories when -d is set and the directory itself doesn'tBrian Somers2005-01-121-0/+12
| | | | | | | | | | | match. PR: 28095 Submitted by: bill at twwells dot com MFC after: 7 days Notes: svn path=/head/; revision=140097
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-2/+2
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* s/filesystem/file system/ as discussed on -developersTom Rhodes2002-08-211-1/+1
| | | | Notes: svn path=/head/; revision=102230
* Fix a couple of typos in a comment.Giorgos Keramidas2002-07-151-2/+2
| | | | | | | | PR: docs/33559 Submitted by: Marc Olzheim <marcolz@ilse.nl> Notes: svn path=/head/; revision=100012
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+2
| | | | Notes: svn path=/head/; revision=99110
* Consistancy check s/file system/filesystem/Tom Rhodes2002-05-161-1/+1
| | | | | | | Reviewed by: brian Notes: svn path=/head/; revision=96702
* Ooops, forgot to remove the registers here.Warner Losh2002-02-021-9/+9
| | | | Notes: svn path=/head/; revision=90113
* o __P has been reovedWarner Losh2002-02-021-35/+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. Notes: svn path=/head/; revision=90110
* Sync up with OpenBSD. Too many changes to note, but the major featuresKris Kennaway2001-05-081-5/+21
| | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=76351
* Reduce diffs with OpenBSD:Kris Kennaway2001-04-261-20/+20
| | | | | | | | | | | | | | | | | | | #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 Notes: svn path=/head/; revision=76017
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Various spelling/formatting changes.Kris Kennaway1999-05-081-4/+4
| | | | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> Notes: svn path=/head/; revision=46684
* Make sure we pass the length - 1 to readlink, since it adds its ownWarner Losh1998-06-091-3/+3
| | | | | | | | NUL at the end of the path. Inspired by: OpenBSD's changes in this area by theo de raadt Notes: svn path=/head/; revision=36784
* Correct use of .Nm. Add rcsid.Philippe Charnier1998-05-151-3/+5
| | | | Notes: svn path=/head/; revision=36049
* Remove simultaneous include of <sys/param.h> and <sys/types.h>.Eivind Eklund1997-12-101-2/+1
| | | | | | | | Reorder includes to be alphabetical some places since I already was in here. Notes: svn path=/head/; revision=31666
* Dont have an internal function named "warn" it clashes with libc..Søren Schmidt1997-08-291-14/+14
| | | | | | | Needed for ELF. Notes: svn path=/head/; revision=28904
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* -Wall cleaning.Steve Price1996-12-141-2/+2
| | | | Notes: svn path=/head/; revision=20420
* Remove unneded ctype.h everywhereAndrey A. Chernov1995-10-231-2/+1
| | | | | | | Add setlocale LC_TIME Notes: svn path=/head/; revision=11746
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-4/+4
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=8855
* Added $Id$David Greenman1994-09-241-0/+2
| | | | Notes: svn path=/head/; revision=3044
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-261-0/+543
Notes: svn path=/head/; revision=1556