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

Tim Kientzle kientzle at FreeBSD.org
Sun Apr 11 01:36:11 UTC 2010


Author: kientzle
Date: Sun Apr 11 01:36:10 2010
New Revision: 206466
URL: http://svn.freebsd.org/changeset/base/206466

Log:
  Fix -X.

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

Modified: head/usr.bin/tar/matching.c
==============================================================================
--- head/usr.bin/tar/matching.c	Sun Apr 11 01:32:30 2010	(r206465)
+++ head/usr.bin/tar/matching.c	Sun Apr 11 01:36:10 2010	(r206466)
@@ -89,7 +89,7 @@ lafe_exclude_from_file(struct lafe_match
 	const char *p;
 	int ret = 0;
 
-	lr = lafe_line_reader(pathname, '\n');
+	lr = lafe_line_reader(pathname, 0);
 	while ((p = lafe_line_reader_next(lr)) != NULL) {
 		if (lafe_exclude(matching, p) != 0)
 			ret = -1;


More information about the svn-src-head mailing list