Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2009 05:35:59 +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: r189518 - head/usr.bin/tar
Message-ID:  <200903080535.n285Zx08073423@svn.freebsd.org>

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



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