git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v4 00/15] daemon-win32

From
Erik Faye-Lund <kusmabite@gmail.com>
Date
Oct 11, 2010, 21:50 UTC
Message-ID
<1286833829-5116-1-git-send-email-kusmabite@gmail.com>
OK, here's v3 of this series. Since the last version, the following
things were done:
* 01/14 has the error-path cleaned up, as suggested by Eric Sunshine
* 02/14 now supports any vararg input, and escapes "%1" to "% 1" to
  avoid a limitation ni ReportEvent(). The code has also been moved
  to compat/win32/syslog.[ch], since it's fairly self contained and
  it's not strictly speaking a mingw-specific thing.
* 05/14 now has an extended commit message, detailing the rationale
  a bit more
* 08/14 has been fixed up as suggested by Eric Sunshine
* 11/14 has been fixed up to remove code left dead by the previous
  version
* 12/14 has a better commit message, including an explanation on
  how to update the code. The sources have also been moved to
  compat/win32/sys/poll.[ch], which is where git usually looks for
  the poll-header.
* 14/14 has been split out into 14/15 and 15/15, because it
  contained some left-over changes (unsigned int -> socklen_t). The
  left-over code is 14/15.
* 15/15 have the _POSIX_VERSION-check replaced with a check for
  NO_POSIX_GOODIES. It has been changed back to opt-out, since I
  don't want to have to deal with figuring out what platforms it
  will work for or not. Currently all platforms except from Windows
  supports all posix-"goodies", but it should be easy to opt-out
  for a future plaform.
Erik Faye-Lund (11):
  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: use socklen_t
  daemon: opt-out on features that require posix
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                |   23 ++-
 compat/inet_ntop.c      |   22 +--
 compat/inet_pton.c      |    8 +-
 compat/mingw.c          |  232 +++++++++++++------
 compat/mingw.h          |   41 ++--
 compat/win32/sys/poll.c |  596 +++++++++++++++++++++++++++++++++++++++++++++++
 compat/win32/sys/poll.h |   53 +++++
 compat/win32/syslog.c   |   72 ++++++
 compat/win32/syslog.h   |   20 ++
 daemon.c                |  199 +++++++++-------
 git-compat-util.h       |   11 +-
 11 files changed, 1067 insertions(+), 210 deletions(-)
 create mode 100644 compat/win32/sys/poll.c
 create mode 100644 compat/win32/sys/poll.h
 create mode 100644 compat/win32/syslog.c
 create mode 100644 compat/win32/syslog.h
-- 
1.7.3.1.199.g72340
Next: Erik Faye-Lund
Message 1 of 47 in “daemon-win32”
  1. 00/15 daemon-win32Erik Faye-Lund, Oct 11, 2010
  2. 01/15 mingw: add network-wrappers for daemonErik Faye-Lund, Oct 11, 2010
  3. Jonathan NiederOct 11, 2010
  4. 02/15 mingw: implement syslogErik Faye-Lund, Oct 11, 2010
  5. Jonathan NiederOct 11, 2010
  6. Erik Faye-LundOct 11, 2010
  7. Jonathan NiederOct 11, 2010
  8. Erik Faye-LundOct 13, 2010
  9. Eric SunshineOct 13, 2010
  10. Pat ThoytsOct 13, 2010
  11. Erik Faye-LundOct 14, 2010
  12. 03/15 compat: add inet_pton and inet_ntop prototypesErik Faye-Lund, Oct 11, 2010
  13. 04/15 inet_ntop: fix a couple of old-style declsErik Faye-Lund, Oct 11, 2010
  14. 05/15 mingw: use real pidErik Faye-Lund, Oct 11, 2010
  15. 06/15 mingw: support waitpid with pid > 0 and WNOHANGErik Faye-Lund, Oct 11, 2010
  16. 07/15 mingw: add kill emulationErik Faye-Lund, Oct 11, 2010
  17. 08/15 daemon: use run-command api for async servingErik Faye-Lund, Oct 11, 2010
  18. Junio C HamanoOct 13, 2010
  19. Erik Faye-LundOct 14, 2010
  20. Junio C HamanoOct 17, 2010
  21. 09/15 daemon: use full buffered mode for stderrErik Faye-Lund, Oct 11, 2010
  22. 10/15 Improve the mingw getaddrinfo stub to handle more use casesErik Faye-Lund, Oct 11, 2010
  23. 11/15 daemon: report connection from root-processErik Faye-Lund, Oct 11, 2010
  24. Junio C HamanoOct 13, 2010
  25. Erik Faye-LundOct 14, 2010
  26. Junio C HamanoOct 17, 2010
  27. Erik Faye-LundOct 17, 2010
  28. 12/15 mingw: import poll-emulation from gnulibErik Faye-Lund, Oct 11, 2010
  29. 13/15 mingw: use poll-emulation from gnulibErik Faye-Lund, Oct 11, 2010
  30. 14/15 daemon: use socklen_tErik Faye-Lund, Oct 11, 2010
  31. 15/15 daemon: opt-out on features that require posixErik Faye-Lund, Oct 11, 2010
  32. Junio C HamanoOct 13, 2010
  33. Erik Faye-LundOct 14, 2010
  34. Junio C HamanoOct 15, 2010
  35. Erik Faye-LundOct 18, 2010
  36. Jonathan NiederOct 18, 2010
  37. Andreas SchwabOct 18, 2010
  38. empty structsJonathan Nieder, Oct 18, 2010
  39. Erik Faye-LundOct 21, 2010
  40. Erik Faye-LundOct 21, 2010
  41. Jonathan NiederOct 21, 2010
  42. Erik Faye-LundOct 21, 2010
  43. Junio C HamanoOct 21, 2010
  44. Junio C HamanoOct 18, 2010
  45. Erik Faye-LundOct 21, 2010
  46. Jonathan NiederOct 21, 2010
  47. Erik Faye-LundOct 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.