projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
352c811
)
MinGW: use POSIX signature of waitpid()
author
Johannes Schindelin
<johannes.schindelin@gmx.de>
Sat, 23 May 2009 08:04:49 +0000
(10:04 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 23 May 2009 08:54:45 +0000
(
01:54
-0700)
Git's source code expects waitpid() to return a signed int status.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.h
patch
|
blob
|
history
diff --git
a/compat/mingw.h
b/compat/mingw.h
index 762eb143a7654480d8831a6258a0767c0f33900b..b1156b865ea8f145956f8fad1ea0dd6a4ea28c93 100644
(file)
--- a/
compat/mingw.h
+++ b/
compat/mingw.h
@@
-109,7
+109,7
@@
static inline int mingw_unlink(const char *pathname)
}
#define unlink mingw_unlink
-static inline int waitpid(pid_t pid,
unsigned
*status, unsigned options)
+static inline int waitpid(pid_t pid,
int
*status, unsigned options)
{
if (options == 0)
return _cwait(status, pid, 0);