summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/matching.c
Commit message (Collapse)AuthorAgeFilesLines
* A handful of minor portability and style improvements.kientzle2005-03-141-0/+2
|
* Add a fallback version of fnmatch() to the bsdtarkientzle2004-12-221-8/+164
| | | | | | | | | source code. Include configure logic to pick up the system one when it exists and use the fallback version when it doesn't exist. Set the default for FreeBSD to use the system version. With this, bsdtar should now be quite portable.
* A bunch of stuff from Christoph Mellon:kientzle2004-07-241-1/+1
| | | | | | | | * Whitespace fixes * Check some malloc calls * Simplify long_help formatting * Spell "LINUX" -> "linux" * A few other miscellaneous style improvements
* Augment the -T handling:kientzle2004-06-271-40/+16
| | | | | | | | | | | | * Add --null option (sort #defines here) * Add process_lines function to util.c that reads newline-terminated or null-terminated lines (with self-sizing buffers, etc) and iteratively invokes a provided function. Use this to dramatically simplify: -T handling for -c, --exclude-from-file, and --include-from-file. * Add -T handling to -x (via include_from_file) Hopefully, this will fix the openoffice port and a couple of others that rely on -T and --null.
* Add gtar-compatible -X/--exclude-fromkientzle2004-06-151-0/+38
|
* Both "foo/" and "foo" should match "foo/bar", so stripkientzle2004-06-021-0/+3
| | | | | | trailing '/' characters on include patterns for extraction. Pointed out by: games/quakeforge port (thanks to Kris!)
* Propagate struct bsdtar down into a lot more places.kientzle2004-05-171-6/+7
| | | | Move global progname variable into struct bsdtar.
* Add DPADD to Makefile (thanks to Andrey for pointing this out).kientzle2004-04-121-3/+0
| | | | | Generally clean up Makefile, remove dmalloc references from source (there are better ways to do this than pollute the FreeBSD src tree).
* Initial commit for bsdtar.kientzle2004-04-051-0/+243
OpenPOWER on IntegriCloud