mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
build: update gnulib
* .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.
This commit is contained in:
2
.gnulib
2
.gnulib
Submodule .gnulib updated: e2843e30e8...28e58203a7
@@ -39,6 +39,7 @@ ioctl
|
||||
maintainer-makefile
|
||||
mkstemp
|
||||
mktempd
|
||||
netdb
|
||||
perror
|
||||
physmem
|
||||
poll
|
||||
|
||||
@@ -38,12 +38,6 @@
|
||||
|
||||
#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,
|
||||
|
||||
@@ -68,11 +68,6 @@
|
||||
|
||||
#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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user