freebsd-nq/usr.bin/tar
Tim Kientzle 37ba5a9b14 If a file is specifically both included and excluded, then:
* It is not extracted (because it is excluded)
 * If it's not present in the archive, then an error is
   reported (because the file was requested and not found)
 * If it is present in the archive, no error is reported.
Previously, this would always report an error because the
exclusion prevented the entry from matching the inclusion.

Also, tar is now more reluctant to report unmatched inclusions.
Previously, "tar x file1 'file*'" against an archive that contained a
single entry "file1" would match file1 and then report an error for
the second pattern because it wasn't matched.  It now considers both
inclusions to be matched and reports no error.
2010-04-11 18:44:42 +00:00
..
test Fix common misspelling of hierarchy 2010-02-20 10:19:19 +00:00
bsdtar_platform.h Remove an unnecessary include and conditionalize some code. 2010-04-11 01:31:50 +00:00
bsdtar.1 Correct the markup for the -s option, 2010-04-11 01:30:15 +00:00
bsdtar.c Remove an unnecessary include and conditionalize some code. 2010-04-11 01:31:50 +00:00
bsdtar.h Merge a bunch of refactoring from Joerg Sonnenberger to 2010-02-07 02:00:26 +00:00
cmdline.c Diff reduction compared to portable bsdtar 2.8: Move the 2010-02-06 19:44:37 +00:00
config_freebsd.h Merge a bunch of refactoring from Joerg Sonnenberger to 2010-02-07 02:00:26 +00:00
COPYING Include Guido's copyright for the fnmatch() code I cribbed from. 2008-01-02 00:19:49 +00:00
err.c Diff reduction compared to portable bsdtar 2.8: Move the 2010-02-06 19:44:37 +00:00
err.h Diff reduction compared to portable bsdtar 2.8: Move the 2010-02-06 19:44:37 +00:00
getdate.c Minor code rework. 2010-02-07 01:16:05 +00:00
line_reader.c Merge a bunch of refactoring from Joerg Sonnenberger to 2010-02-07 02:00:26 +00:00
line_reader.h Merge a bunch of refactoring from Joerg Sonnenberger to 2010-02-07 02:00:26 +00:00
Makefile Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
matching.c If a file is specifically both included and excluded, then: 2010-04-11 18:44:42 +00:00
matching.h Merge a bunch of refactoring from Joerg Sonnenberger to 2010-02-07 02:00:26 +00:00
pathmatch.c Merge a bunch of refactoring from Joerg Sonnenberger to 2010-02-07 02:00:26 +00:00
pathmatch.h Merge a bunch of refactoring from Joerg Sonnenberger to 2010-02-07 02:00:26 +00:00
read.c Merge a bunch of refactoring from Joerg Sonnenberger to 2010-02-07 02:00:26 +00:00
subst.c Diff reduction against bsdtar 2.8.3 2010-04-11 16:27:38 +00:00
tree.c Fix common misspelling of hierarchy 2010-02-20 10:19:19 +00:00
tree.h Diff reduction against bsdtar 2.8.3 2010-04-11 16:28:10 +00:00
util.c Merge a bunch of refactoring from Joerg Sonnenberger to 2010-02-07 02:00:26 +00:00
write.c Consistently specify O_BINARY when opening files. 2010-04-11 01:32:30 +00:00