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

Diff for /src/usr.bin/cu/command.c between version 1.13 and 1.14

version 1.13, 2013/11/12 13:54:51 version 1.14, 2015/10/05 17:53:56
Line 73 
Line 73 
                 if (closefrom(STDERR_FILENO + 1) != 0)                  if (closefrom(STDERR_FILENO + 1) != 0)
                         _exit(1);                          _exit(1);
   
                 execl(_PATH_BSHELL, "sh", "-c", cmd, (void*)NULL);                  execl(_PATH_BSHELL, "sh", "-c", cmd, (char *)NULL);
                 _exit(1);                  _exit(1);
         default:          default:
                 while (waitpid(pid, NULL, 0) == -1 && errno == EINTR)                  while (waitpid(pid, NULL, 0) == -1 && errno == EINTR)
Line 121 
Line 121 
                 if (closefrom(STDERR_FILENO + 1) != 0)                  if (closefrom(STDERR_FILENO + 1) != 0)
                         _exit(1);                          _exit(1);
   
                 execl(_PATH_BSHELL, "sh", "-c", cmd, (void*)NULL);                  execl(_PATH_BSHELL, "sh", "-c", cmd, (char *)NULL);
                 _exit(1);                  _exit(1);
         default:          default:
                 while (waitpid(pid, NULL, 0) == -1 && errno == EINTR)                  while (waitpid(pid, NULL, 0) == -1 && errno == EINTR)

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14