author | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Nov 2010 22:44:20 +0000 (14:44 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Nov 2010 22:44:20 +0000 (14:44 -0800) |
* ef/mingw-daemon:
daemon: opt-out on features that require posix
daemon: make --inetd and --detach incompatible
daemon: use socklen_t
mingw: use poll-emulation from gnulib
mingw: import poll-emulation from gnulib
daemon: get remote host address from root-process
Improve the mingw getaddrinfo stub to handle more use cases
daemon: use full buffered mode for stderr
daemon: use run-command api for async serving
mingw: add kill emulation
mingw: support waitpid with pid > 0 and WNOHANG
mingw: use real pid
inet_ntop: fix a couple of old-style decls
compat: add inet_pton and inet_ntop prototypes
mingw: implement syslog
mingw: add network-wrappers for daemon
Conflicts:
compat/mingw.h
git-compat-util.h
daemon: opt-out on features that require posix
daemon: make --inetd and --detach incompatible
daemon: use socklen_t
mingw: use poll-emulation from gnulib
mingw: import poll-emulation from gnulib
daemon: get remote host address from root-process
Improve the mingw getaddrinfo stub to handle more use cases
daemon: use full buffered mode for stderr
daemon: use run-command api for async serving
mingw: add kill emulation
mingw: support waitpid with pid > 0 and WNOHANG
mingw: use real pid
inet_ntop: fix a couple of old-style decls
compat: add inet_pton and inet_ntop prototypes
mingw: implement syslog
mingw: add network-wrappers for daemon
Conflicts:
compat/mingw.h
git-compat-util.h
1 | 2 | |||
---|---|---|---|---|
Makefile | patch | | diff1 | | diff2 | | blob | history |
compat/mingw.h | patch | | diff1 | | diff2 | | blob | history |
daemon.c | patch | | diff1 | | diff2 | | blob | history |
git-compat-util.h | patch | | diff1 | | diff2 | | blob | history |
diff --cc Makefile
Simple merge
diff --cc compat/mingw.h
Simple merge
diff --cc daemon.c
Simple merge
diff --cc git-compat-util.h
index 625b2e4f142fcd756f80c20fd22c03c15f1b9214,d0a1e480b6445a6f5ba3680672c255ab44ca43f0..490f96974417b00cd98de046ab1d6853425c3335
--- 1/git-compat-util.h
--- 2/git-compat-util.h
+++ b/git-compat-util.h
#include <assert.h>
#include <regex.h>
#include <utime.h>
- #ifndef __MINGW32__
- #include <sys/wait.h>
+ #include <syslog.h>
+#ifndef NO_SYS_POLL_H
#include <sys/poll.h>
+#else
+#include <poll.h>
+#endif
+ #ifndef __MINGW32__
+ #include <sys/wait.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <termios.h>