svn commit: r188344 - head/usr.bin/tar

Tim Kientzle kientzle at FreeBSD.org
Sun Feb 8 14:04:18 PST 2009


Author: kientzle
Date: Sun Feb  8 22:04:17 2009
New Revision: 188344
URL: http://svn.freebsd.org/changeset/base/188344

Log:
  Fix multiple -s options.
  
  MFC after:	7 days

Modified:
  head/usr.bin/tar/subst.c

Modified: head/usr.bin/tar/subst.c
==============================================================================
--- head/usr.bin/tar/subst.c	Sun Feb  8 22:02:46 2009	(r188343)
+++ head/usr.bin/tar/subst.c	Sun Feb  8 22:04:17 2009	(r188344)
@@ -202,7 +202,7 @@ apply_substitution(struct bsdtar *bsdtar
 		if (symlink_only && !rule->symlink)
 			continue;
 		if (regexec(&rule->re, name, 10, matches, 0))
-			break;
+			continue;
 
 		got_match = 1;
 		print_match |= rule->print;


More information about the svn-src-all mailing list