coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit] build: update gnulib submodule; also bootstrap to latest


From: Bernhard Voelker
Subject: [commit] build: update gnulib submodule; also bootstrap to latest
Date: Wed, 05 Jun 2013 14:24:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

I updated the gnulib submodule (together with bootstrap which is a copy
from there).  This avoids some gnulib-test failures of tests using nap() -
namely test-{chown,lchown,fchownat,fdutimensat,futimens,utimens,utimensat}.
Such gnulib-test failures could be observed mostly in VMs.

Thanks to Padraig for the review.
I pushed the following.

Have a nice day,
Berny


>From 61d74b6764c0005194d2f764d12696bac9c0fa1a Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <address@hidden>
Date: Wed, 5 Jun 2013 11:41:19 +0200
Subject: [PATCH] build: update gnulib submodule; also bootstrap to latest

Notes tests/init.sh is still in sync with gnulib.

* bootstrap: Update to latest.
* gnulib: Update avoiding gnulib-test failures.
---
 bootstrap | 25 +++++++++++++++----------
 gnulib    |  2 +-
 2 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/bootstrap b/bootstrap
index bee7765..0cbea66 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2013-01-20.16; # UTC
+scriptversion=2013-05-08.20; # UTC

 # Bootstrap this package from checked-out sources.

@@ -140,20 +140,21 @@ po_download_command_format2=\
 "wget --mirror -nd -q -np -A.po -P '%s' \
  http://translationproject.org/latest/%s/";

+# Prefer a non-empty tarname (4th argument of AC_INIT if given), else
+# fall back to the package name (1st argument with munging)
 extract_package_name='
-  /^AC_INIT(/{
-     /.*,.*,.*, */{
-       s///
-       s/[][]//g
-       s/)$//
+  /^AC_INIT(\[*/{
+     s///
+     /^[^,]*,[^,]*,[^,]*,[ []*\([^][ ,)]\)/{
+       s//\1/
+       s/[],)].*//
        p
        q
      }
-     s/AC_INIT(\[*//
-     s/]*,.*//
+     s/[],)].*//
      s/^GNU //
      y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
-     s/[^A-Za-z0-9_]/-/g
+     s/[^abcdefghijklmnopqrstuvwxyz0123456789_]/-/g
      p
   }
 '
@@ -630,9 +631,13 @@ esac
 if $bootstrap_sync; then
   cmp -s "$0" "$GNULIB_SRCDIR/build-aux/bootstrap" || {
     echo "$0: updating bootstrap and restarting..."
+    case $(sh -c 'echo "$1"' -- a) in
+      a) ignored=--;;
+      *) ignored=ignored;;
+    esac
     exec sh -c \
       'cp "$1" "$2" && shift && exec "${CONFIG_SHELL-/bin/sh}" "$@"' \
-      -- "$GNULIB_SRCDIR/build-aux/bootstrap" \
+      $ignored "$GNULIB_SRCDIR/build-aux/bootstrap" \
       "$0" "$@" --no-bootstrap-sync
   }
 fi
diff --git a/gnulib b/gnulib
index 1233589..439b0e9 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 12335899d0089131d854aa1b074f0c4d841dff42
+Subproject commit 439b0e925f9ffb6fe58481717def708af96a9321
-- 
1.8.2.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]