Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2009 22:04:17 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188344 - head/usr.bin/tar
Message-ID:  <200902082204.n18M4Hw5035990@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902082204.n18M4Hw5035990>