[PATCH/RFC 0/3] port upload-archive to windows
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Jul 7, 2011, 11:43 UTC
- Message-ID
- <1310038989-5724-1-git-send-email-kusmabite@gmail.com>
Upload-archive, while compiled and installed on Windows, never worked due to it's dependence on fork. This is a patch-series to remedy that.
While doing this, I found a bug in gnulib's poll-emulation where it could return 0 even when timeout was -1. This is neither something POSIX allows, nor something our code is expecting.
So I've submitted an upstream patch for gnulib and upgraded our copy.
Erik Faye-Lund (3): compat/win32/sys/poll.c: upgrade from upstream mingw: fix compilation of poll-emulation upload-archive: use start_command instead of fork
builtin/upload-archive.c | 62 ++++++++++++---------------------------------- compat/mingw.h | 2 - compat/win32/sys/poll.c | 17 +++++++++--- 3 files changed, 28 insertions(+), 53 deletions(-)
-- 1.7.6.135.ge14e3f