Date: Sun, 11 Apr 2010 18:44:42 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/tar matching.c Message-ID: <201004111844.o3BIiuZg085473@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2010-04-11 18:44:42 UTC FreeBSD src repository Modified files: usr.bin/tar matching.c Log: SVN rev 206487 on 2010-04-11 18:44:42Z by kientzle 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. Revision Changes Path 1.21 +26 -25 src/usr.bin/tar/matching.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004111844.o3BIiuZg085473>