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

Diff for /src/usr.bin/cvs/util.c between version 1.161 and 1.162

version 1.161, 2017/08/28 19:33:20 version 1.162, 2019/06/28 13:35:00
Line 888 
Line 888 
         int fds[2], st;          int fds[2], st;
         char *argp[4] = { "sh", "-c", prog, NULL };          char *argp[4] = { "sh", "-c", prog, NULL };
   
         if (in != NULL && pipe(fds) < 0) {          if (in != NULL && pipe(fds) == -1) {
                 cvs_log(LP_ERR, "cvs_exec: pipe failed");                  cvs_log(LP_ERR, "cvs_exec: pipe failed");
                 return (-1);                  return (-1);
         }          }

Legend:
Removed from v.1.161  
changed lines
  Added in v.1.162