{"thread":{"id":"2969","subject":"trivial: retval of waitpid is not errno","startedAt":"2006-01-05T08:56:37Z","lastAt":"2006-01-07T02:27:27Z","messageCount":2,"participants":["Alex Riesen","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"14171","messageId":"81b0412b0601050056p3b51ff7bt5c75802f6ba07092@mail.gmail.com","threadId":"2969","inReplyTo":null,"subject":"trivial: retval of waitpid is not errno","fromName":"Alex Riesen","fromEmail":"raa.lkml@gmail.com","sentAt":"2006-01-05T08:56:37Z","receivedAt":"2006-01-05T08:56:37Z","isPatch":false,"sender":{"key":"raa.lkml@gmail.com","avatar":"https://avatars.githubusercontent.com/u/324101?v=4"},"body":"...but is used as such and passed to strerror.\n\nSigned-off-by: Alex Riesen <raa.lkml@gmail.com>\n\n\nSubject: [PATCH] retval of waitpid is not errno\n\nSigned-off-by: Alex Riesen <raa.lkml@gmail.com>\n\n\n---\n\n fetch-clone.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\na1dd9ab6b49a6c4e7abb6519933bf2bb22594bd4\ndiff --git a/fetch-clone.c b/fetch-clone.c\nindex 2b2aa15..f46fe6e 100644\n--- a/fetch-clone.c\n+++ b/fetch-clone.c\n@@ -47,7 +47,7 @@ static int finish_pack(const char *pack_\n \t\tif (retval < 0) {\n \t\t\tif (errno == EINTR)\n \t\t\t\tcontinue;\n-\t\t\terror(\"waitpid failed (%s)\", strerror(retval));\n+\t\t\terror(\"waitpid failed (%s)\", strerror(errno));\n \t\t\tgoto error_die;\n \t\t}\n \t\tif (WIFSIGNALED(status)) {\n-- \n1.0.GIT\n"},{"id":"14223","messageId":"7vzmm8pyb4.fsf@assigned-by-dhcp.cox.net","threadId":"2969","inReplyTo":"81b0412b0601050056p3b51ff7bt5c75802f6ba07092@mail.gmail.com","subject":"Re: trivial: retval of waitpid is not errno","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-01-07T02:27:27Z","receivedAt":"2006-01-07T02:27:27Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks for all the trivial series.  Most of them applied as they\nare, others I have already sent out comments.\n"}]}