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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to