]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: update gnulib for pipe on mingw
authorEric Blake <eblake@redhat.com>
Fri, 10 Dec 2010 22:49:52 +0000 (15:49 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 13 Dec 2010 23:09:50 +0000 (16:09 -0700)
* .gnulib: Update to latest.
* bootstrap.conf (gnulib_modules): Import pipe-posix and waitpid
for mingw.
* src/remote/remote_driver.c (pipe) [WIN32]: Drop dead macro.
* daemon/event.c (pipe) [WIN32]: Drop dead function.

.gnulib
bootstrap.conf
daemon/event.c
src/remote/remote_driver.c

diff --git a/.gnulib b/.gnulib
index 64911207854610668b480939469282fdaeb96f74..980f9d2ceb43f9d86ea57db0367e569267c8571b 160000 (submodule)
--- a/.gnulib
+++ b/.gnulib
@@ -1 +1 @@
-Subproject commit 64911207854610668b480939469282fdaeb96f74
+Subproject commit 980f9d2ceb43f9d86ea57db0367e569267c8571b
index 2ad1957b0cba59fc3bc02fe68389425b1978dd49..282768b35dd426ef74fafc62601da7954211eceb 100644 (file)
@@ -48,6 +48,7 @@ mktempd
 netdb
 perror
 physmem
+pipe-posix
 poll
 posix-shell
 pthread
@@ -76,6 +77,7 @@ usleep
 vasprintf
 verify
 vc-list-files
+waitpid
 '
 
 # Additional xgettext options to use.  Use "\\\newline" to break lines.
index 01cb674459fdb842ac8805a90e7a44a9ce9cc89f..89ca9f081324d6ede306d6ff2fb1aec642167061 100644 (file)
@@ -621,12 +621,6 @@ static void virEventHandleWakeup(int watch ATTRIBUTE_UNUSED,
     virMutexUnlock(&eventLoop.lock);
 }
 
-#ifdef WIN32
-static inline int pipe(int fd[2]) {
-    return _pipe(fd, 4096, 0);
-}
-#endif
-
 int virEventInit(void)
 {
     if (virMutexInit(&eventLoop.lock) < 0)
index e6eb9b5d41f6bf761d8f1bf539b3fa89a901624e..fae191c4bd9dfd0e3227ec8da4fa1a50e01eb9ff 100644 (file)
 
 #define VIR_FROM_THIS VIR_FROM_REMOTE
 
-#ifdef WIN32
-# define pipe(fds) _pipe(fds,4096, _O_BINARY)
-#endif
-
-
 static int inside_daemon = 0;
 
 struct remote_thread_call;