]> xenbits.xensource.com Git - libvirt.git/commitdiff
maint: update to latest gnulib
authorEric Blake <eblake@redhat.com>
Mon, 4 Jan 2016 20:45:51 +0000 (13:45 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 26 May 2016 16:47:03 +0000 (10:47 -0600)
Pulls in several portability fixes, including the fact that gnulib
now only works on platforms with two's complement signed integers.
Also makes for a smaller delta on the next update (we are waiting
on a license change to unsetenv for the sake of mingw).

* .gnulib: Update to latest.
* bootstrap: Resync from upstream.
* tests/virstringtest.c: Drop use of obsolete probes of integer
properties.

Signed-off-by: Eric Blake <eblake@redhat.com>
.gnulib
bootstrap
tests/virstringtest.c

diff --git a/.gnulib b/.gnulib
index 6cc32c63e80bc1a30c521b2f07f2b54909b59892..8d807a99c6e8eecd2a9cf7c7b5d48ec0b2c934f8 160000 (submodule)
--- a/.gnulib
+++ b/.gnulib
@@ -1 +1 @@
-Subproject commit 6cc32c63e80bc1a30c521b2f07f2b54909b59892
+Subproject commit 8d807a99c6e8eecd2a9cf7c7b5d48ec0b2c934f8
index 294c0bce447935103ab493ca7c3ee2d30a48d44a..f060bab83e3e6e41348bee0fde26672cc0987ed7 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2014-12-08.12; # UTC
+scriptversion=2016-01-24.06; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -42,7 +42,7 @@ export LC_ALL
 
 local_gl_dir=gl
 
-# Honour $PERL, but work even if there is none
+# Honor $PERL, but work even if there is none.
 PERL="${PERL-perl}"
 
 me=$0
@@ -1021,6 +1021,6 @@ echo "$0: done.  Now you can run './configure'."
 # eval: (add-hook 'write-file-hooks 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
index 7a1dcfdfb8847d2cf6d16ff6442882ab3d930e22..63b80098fd47020aa2d261656ba9f15cbe5174ef 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2014 Red Hat, Inc.
+ * Copyright (C) 2012-2016 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -23,7 +23,6 @@
 #include <stdlib.h>
 
 #include "testutils.h"
-#include "intprops.h"
 #include "verify.h"
 #include "virerror.h"
 #include "viralloc.h"
@@ -409,13 +408,11 @@ struct stringToLongData {
 
 /* This test makes assumptions about our compilation platform that are
  * not guaranteed by POSIX.  Good luck to you if you are crazy enough
- * to try and port libvirt to a platform with 16-bit int.  */
+ * to try and port libvirt to a platform with 16-bit int.  Gnulib
+ * already assumes that signed integers are two's complement. */
 verify(sizeof(int) == 4);
-verify(TYPE_TWOS_COMPLEMENT(int));
 verify(sizeof(long) == sizeof(int) || sizeof(long) == sizeof(long long));
-verify(TYPE_TWOS_COMPLEMENT(long));
 verify(sizeof(long long) == 8);
-verify(TYPE_TWOS_COMPLEMENT(long long));
 
 static int
 testStringToLong(const void *opaque)