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

Diff for /src/usr.bin/sendbug/sendbug.c between version 1.48 and 1.49

version 1.48, 2007/05/11 02:00:49 version 1.49, 2007/05/11 02:07:47
Line 244 
Line 244 
         sighup = signal(SIGHUP, SIG_IGN);          sighup = signal(SIGHUP, SIG_IGN);
         sigint = signal(SIGINT, SIG_IGN);          sigint = signal(SIGINT, SIG_IGN);
         sigquit = signal(SIGQUIT, SIG_IGN);          sigquit = signal(SIGQUIT, SIG_IGN);
         while ((pid = fork()) == -1)          if ((pid = fork()) == -1)
                 if (errno == EAGAIN)                  goto fail;
                         sleep(1);  
                 else  
                         goto fail;  
         if (pid == 0) {          if (pid == 0) {
                 execv(_PATH_BSHELL, argp);                  execv(_PATH_BSHELL, argp);
                 _exit(127);                  _exit(127);

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49