]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: update gnulib
authorEric Blake <eblake@redhat.com>
Tue, 11 May 2010 15:32:19 +0000 (09:32 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 11 May 2010 16:03:48 +0000 (10:03 -0600)
* .gnulib: Update to latest.
* bootstrap.conf (gnulib_modules): Import netdb.
* src/esx/esx_util.c (AI_ADDRCONFIG): Rely on gnulib.
* src/remote/remote_driver.c (AI_ADDRCONFIG): Likewise.
* tools/virsh.c (WEXITSTATUS, O_SYNC): Likewise.

.gnulib
bootstrap.conf
src/esx/esx_util.c
src/remote/remote_driver.c
tools/virsh.c

diff --git a/.gnulib b/.gnulib
index e2843e30e8c2885eb8cbc77e20c4e0f4d562d44d..28e58203a7ab14264f8fa450884a89e9ae48025c 160000 (submodule)
--- a/.gnulib
+++ b/.gnulib
@@ -1 +1 @@
-Subproject commit e2843e30e8c2885eb8cbc77e20c4e0f4d562d44d
+Subproject commit 28e58203a7ab14264f8fa450884a89e9ae48025c
index fa2880a693cbb7aea9549947ff447681f136c025..1e193d9ac0df5cdd0748bdf17e395dd6e24fdadb 100644 (file)
@@ -39,6 +39,7 @@ ioctl
 maintainer-makefile
 mkstemp
 mktempd
+netdb
 perror
 physmem
 poll
index 91d19e972567df091b8c4519e46bd1d85ab05b20..51c9afc3a81414320c6e31cdd1f32e3be4fbacec 100644 (file)
 
 #define VIR_FROM_THIS VIR_FROM_ESX
 
-/* AI_ADDRCONFIG is missing on some systems. */
-#ifndef AI_ADDRCONFIG
-# define AI_ADDRCONFIG 0
-#endif
-
-
 
 int
 esxUtil_ParseQuery(xmlURIPtr uri, char **transport, char **vCenter,
index bd7d617ace2b7b979851a676fcde537f6c9d6158..e4a68ad5e0d9caccf6a74c749d294bb1c247a495 100644 (file)
 
 #include <poll.h>
 
-/* AI_ADDRCONFIG is missing on some systems. */
-#ifndef AI_ADDRCONFIG
-# define AI_ADDRCONFIG 0
-#endif
-
 #include "virterror_internal.h"
 #include "logging.h"
 #include "datatypes.h"
index 21325c3e54cee843f6990fa9c912e92df8f575fd..693d40917e9eefd9769bcb436f7b76f950365db6 100644 (file)
@@ -21,6 +21,7 @@
 #include <getopt.h>
 #include <sys/types.h>
 #include <sys/time.h>
+#include <sys/wait.h>
 #include "c-ctype.h"
 #include <fcntl.h>
 #include <locale.h>
@@ -82,9 +83,6 @@ static char *progname;
 #define LVL_WARNING   "WARNING"
 #define LVL_ERROR     "ERROR"
 
-#ifndef WEXITSTATUS
-# define WEXITSTATUS(x) ((x) & 0xff)
-#endif
 /**
  * vshErrorLevel:
  *
@@ -9930,9 +9928,6 @@ vshInit(vshControl *ctl)
     return TRUE;
 }
 
-#ifndef O_SYNC
-# define O_SYNC 0
-#endif
 #define LOGFILE_FLAGS (O_WRONLY | O_APPEND | O_CREAT | O_SYNC)
 
 /**