Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
fix compilation with NO_PTHREADS
author
Jeff King
<peff@peff.net>
Sat, 5 Jan 2013 14:52:29 +0000
(09:52 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 6 Jan 2013 06:47:27 +0000
(22:47 -0800)
Commit
1327452
cleaned up an unused parameter from
wait_or_whine, but forgot to update a caller that is inside
"#ifdef NO_PTHREADS".
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
1250857
)
diff --git
a/run-command.c
b/run-command.c
index 757f263cd6209cf5aa2b2bbda28e1103ad0303f8..24eaad5c66c1742602347c42c71d279297aabc2a 100644
(file)
--- a/
run-command.c
+++ b/
run-command.c
@@
-725,7
+725,7
@@
int start_async(struct async *async)
int finish_async(struct async *async)
{
#ifdef NO_PTHREADS
- return wait_or_whine(async->pid, "child process"
, 0
);
+ return wait_or_whine(async->pid, "child process");
#else
void *ret = (void *)(intptr_t)(-1);