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

Diff for /src/usr.bin/cvs/checkout.c between version 1.14 and 1.15

version 1.14, 2005/03/30 17:43:04 version 1.15, 2005/04/03 17:32:50
Line 129 
Line 129 
 cvs_checkout_sendflags(struct cvsroot *root)  cvs_checkout_sendflags(struct cvsroot *root)
 {  {
         if (cvs_senddir(root, cvs_files) < 0)          if (cvs_senddir(root, cvs_files) < 0)
                 return (EX_PROTOCOL);                  return (-1);
         if (cvs_sendreq(root, CVS_REQ_XPANDMOD, NULL) < 0)          if (cvs_sendreq(root, CVS_REQ_XPANDMOD, NULL) < 0)
                 cvs_log(LP_ERR, "failed to expand module");                  cvs_log(LP_ERR, "failed to expand module");
   
         /* XXX not too sure why we have to send this arg */          /* XXX not too sure why we have to send this arg */
         if (cvs_sendarg(root, "-N", 0) < 0)          if (cvs_sendarg(root, "-N", 0) < 0)
                 return (EX_PROTOCOL);                  return (-1);
   
         if ((statmod == CVS_LISTMOD) &&          if ((statmod == CVS_LISTMOD) &&
             (cvs_sendarg(root, "-c", 0) < 0))              (cvs_sendarg(root, "-c", 0) < 0))
                 return (EX_PROTOCOL);                  return (-1);
   
         if ((statmod == CVS_STATMOD) &&          if ((statmod == CVS_STATMOD) &&
             (cvs_sendarg(root, "-s", 0) < 0))              (cvs_sendarg(root, "-s", 0) < 0))
                 return (EX_PROTOCOL);                  return (-1);
   
         return (0);          return (0);
 }  }

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