Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2010 01:36:10 +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: r206466 - head/usr.bin/tar
Message-ID:  <201004110136.o3B1aAY9052108@svn.freebsd.org>

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



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