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

Diff for /src/usr.bin/mg/fileio.c between version 1.18 and 1.19

version 1.18, 2001/07/06 13:32:45 version 1.19, 2001/07/09 07:04:49
Line 401 
Line 401 
         if ((pid = vfork())) {          if ((pid = vfork())) {
                 if (pid == -1)                  if (pid == -1)
                         return -1;                          return -1;
                 execl("/bin/cp", "cp", frname, toname, NULL);                  execl("/bin/cp", "cp", frname, toname, (char *)NULL);
                 _exit(1);       /* shouldn't happen */                  _exit(1);       /* shouldn't happen */
         }          }
         waitpid(pid, &status, 0);          waitpid(pid, &status, 0);

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19