From 7be7da6c9f065bd2cc0f30f3675116536efefde4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 15 Dec 2012 13:41:18 +0200 Subject: [PATCH] w32proc.c (reap_subprocess): Fix commentary. --- src/w32proc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/w32proc.c b/src/w32proc.c index dd8d6eb856a..3bdd9995340 100644 --- a/src/w32proc.c +++ b/src/w32proc.c @@ -1087,10 +1087,7 @@ register_child (int pid, int fd) fd_info[fd].cp = cp; } -/* When a process dies its pipe will break so the reader thread will - signal failure to the select emulator. - The select emulator then calls this routine to clean up. - Since the thread signaled failure we can assume it is exiting. */ +/* Called from waitpid when a process exits. */ static void reap_subprocess (child_process *cp) { -- 2.39.5