aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-04-30 16:11:08 +0000
committerJim Meyering <meyering@redhat.com>2008-04-30 16:11:08 +0000
commit07efaf941fbf55c9bfb3cd79248fce4696b12c80 (patch)
treeb0540af9d1a726f273ef293eeae79bd8bbb66659 /build-aux
parentAdd compat for RHEL-5 autoconf (diff)
downloadlibvirt-07efaf941fbf55c9bfb3cd79248fce4696b12c80.tar.gz
libvirt-07efaf941fbf55c9bfb3cd79248fce4696b12c80.tar.bz2
libvirt-07efaf941fbf55c9bfb3cd79248fce4696b12c80.zip
update from gnulib, again
* gnulib/m4/onceonly.m4: New file. * gnulib/m4/printf.m4: New file. * build-aux/useless-if-before-free: Update. * build-aux/vc-list-files: Update. * gnulib/lib/arpa_inet.in.h: Update. * gnulib/lib/stdio-impl.h: Update. * gnulib/m4/inet_ntop.m4: Update.
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/useless-if-before-free6
-rwxr-xr-xbuild-aux/vc-list-files5
2 files changed, 6 insertions, 5 deletions
diff --git a/build-aux/useless-if-before-free b/build-aux/useless-if-before-free
index 89e785962..4603c6c60 100755
--- a/build-aux/useless-if-before-free
+++ b/build-aux/useless-if-before-free
@@ -2,7 +2,7 @@
# Detect instances of "if (p) free (p);".
# Likewise for "if (p != NULL) free (p);". And with braces.
-my $VERSION = '2008-04-29 17:55'; # UTC
+my $VERSION = '2008-04-29 19:56'; # UTC
# The definition above must lie within the first 8 lines in order
# for the Emacs time-stamp write hook (at end) to update it.
# If you change this file with Emacs, please let the write hook
@@ -121,10 +121,10 @@ EOF
$err = EXIT_ERROR, next;
while (defined (my $line = <FH>))
{
- if ($line =~
+ while ($line =~
/\b(if\s*\(\s*(\S+?)(?:\s*!=\s*NULL)?\s*\)
(?: \s*$regexp\s*\((?:\s*\([^)]+\))?\s*\2\s*\)|
- \s*\{\s*$regexp\s*\((?:\s*\([^)]+\))?\s*\2\s*\)\s*;\s*\}))/sx)
+ \s*\{\s*$regexp\s*\((?:\s*\([^)]+\))?\s*\2\s*\)\s*;\s*\}))/sxg)
{
$found_match = 1;
$list
diff --git a/build-aux/vc-list-files b/build-aux/vc-list-files
index 762d7eeb3..63b403a11 100755
--- a/build-aux/vc-list-files
+++ b/build-aux/vc-list-files
@@ -2,7 +2,7 @@
# List version-controlled file names.
# Print a version string.
-scriptversion=2008-04-03.17
+scriptversion=2008-04-30.12
# Copyright (C) 2006-2008 Free Software Foundation, Inc.
@@ -76,6 +76,7 @@ if test -d .git; then
elif test -d .hg; then
eval exec hg locate '"$dir/*"' $postprocess
elif test -d CVS; then
+ test "$postprocess" = '' && postprocess="| sed 's|^\./||'"
if test -x build-aux/cvsu; then
eval build-aux/cvsu --find --types=AFGM '"$dir"' $postprocess
elif (cvsu --help) >/dev/null 2>&1; then
@@ -87,7 +88,7 @@ elif test -d CVS; then
sub(/CVS\/Entries/, "", f); \
print f $2; \
}}'\'' \
- $(find ${*-*} -name Entries -print) /dev/null' $postprocess
+ $(find "$dir" -name Entries -print) /dev/null' $postprocess
fi
else
echo "$0: Failed to determine type of version control used in `pwd`" 1>&2