svn commit: r189518 - head/usr.bin/tar
Tim Kientzle
kientzle at FreeBSD.org
Sat Mar 7 21:36:00 PST 2009
Author: kientzle
Date: Sun Mar 8 05:35:59 2009
New Revision: 189518
URL: http://svn.freebsd.org/changeset/base/189518
Log:
Merge r622 from libarchive.googlecode.com: Avoid warning on platforms
that lack regex.h.
Modified:
head/usr.bin/tar/util.c
Modified: head/usr.bin/tar/util.c
==============================================================================
--- head/usr.bin/tar/util.c Sun Mar 8 05:34:20 2009 (r189517)
+++ head/usr.bin/tar/util.c Sun Mar 8 05:35:59 2009 (r189518)
@@ -453,8 +453,8 @@ edit_pathname(struct bsdtar *bsdtar, str
const char *name = archive_entry_pathname(entry);
#if HAVE_REGEX_H
char *subst_name;
-#endif
int r;
+#endif
#if HAVE_REGEX_H
r = apply_substitution(bsdtar, name, &subst_name, 0);
More information about the svn-src-head
mailing list