[PATCH v3 00/14] daemon-win32
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Oct 10, 2010, 13:20 UTC
- Message-ID
- <1286716854-5744-1-git-send-email-kusmabite@gmail.com>
Almost 9 months have passed since I sent v2, and here's finally v3.
Not so much have happened since v2, the most significant change being that I've replaced our win32-poll implementation with the one from gnulib. This gives our the poll-features needed for git-daemon, and prevents a nasty timing-bug that occured (on Windows) in the previous series.
Some of the patches have been ejected; * "daemon: use select() instead of poll()" because our poll now is sufficient. * "daemon: use explicit file descriptor" because it wasn't needed anymore, not even in the previous version.
One patch might be a little bit controversial; "daemon: only use posix features on posix systems". It replaces "mingw: compile git-daemon", and changes the logic from opt-out is WIN32 is defined to opt-in if _POSIX_VERSION defined.
The current version is based on top of junio/next, because the ab/daemon-multi-select series touches some of the same code.
v2 msgid is <1263591033-4992-1-git-send-email-kusmabite@gmail.com> if you're interrested in comparing.
Erik Faye-Lund (10): inet_ntop: fix a couple of old-style decls mingw: use real pid mingw: support waitpid with pid > 0 and WNOHANG mingw: add kill emulation daemon: use run-command api for async serving daemon: use full buffered mode for stderr daemon: report connection from root-process mingw: import poll-emulation from gnulib mingw: use poll-emulation from gnulib daemon: only use posix features on posix systems
Martin Storsjö (1): Improve the mingw getaddrinfo stub to handle more use cases
Mike Pape (3): mingw: add network-wrappers for daemon mingw: implement syslog compat: add inet_pton and inet_ntop prototypes
Makefile | 12 +- compat/inet_ntop.c | 22 +-- compat/inet_pton.c | 8 +- compat/mingw.c | 291 +++++++++++++++++++------- compat/mingw.h | 56 ++++-- compat/win32/poll.c | 596 +++++++++++++++++++++++++++++++++++++++++++++++++++ compat/win32/poll.h | 53 +++++ daemon.c | 199 ++++++++++-------- git-compat-util.h | 10 + 9 files changed, 1045 insertions(+), 202 deletions(-) create mode 100644 compat/win32/poll.c create mode 100644 compat/win32/poll.h
-- 1.7.3.1.51.ge462f.dirty