[BACK]Return to cmd_exec.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/cmd_exec.c between version 1.8 and 1.9

version 1.8, 2010/07/19 19:46:43 version 1.9, 2016/03/05 13:12:12
Line 107 
Line 107 
                 (void)close(fds[0]);                  (void)close(fds[0]);
   
                 /* Wait for the child to exit.  */                  /* Wait for the child to exit.  */
                 while ((pid = wait(&status)) != cpid && pid >= 0)                  while (waitpid(cpid, &status, 0) == -1 && errno == EINTR)
                         continue;                          continue;
   
                 if (cc == -1)                  if (cc == -1)

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9