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

Diff for /src/usr.bin/cvs/commit.c between version 1.32 and 1.33

version 1.32, 2005/05/20 05:13:44 version 1.33, 2005/05/20 20:00:53
Line 198 
Line 198 
   
         if (cf->cf_type == DT_DIR) {          if (cf->cf_type == DT_DIR) {
                 if (root->cr_method != CVS_METHOD_LOCAL) {                  if (root->cr_method != CVS_METHOD_LOCAL) {
                         if (cf->cf_cvstat != CVS_FST_UNKNOWN)                          if (cf->cf_cvstat != CVS_FST_UNKNOWN) {
                                 ret = cvs_senddir(root, cf);                                  if (cvs_senddir(root, cf) < 0)
                                           return (CVS_EX_PROTO);
                           }
                 }                  }
   
                 return (ret);                  return (0);
         }          }
   
         cvs_file_getpath(cf, fpath, sizeof(fpath));          cvs_file_getpath(cf, fpath, sizeof(fpath));
Line 241 
Line 243 
         if (l == -1 || l >= (int)sizeof(rcspath)) {          if (l == -1 || l >= (int)sizeof(rcspath)) {
                 errno = ENAMETOOLONG;                  errno = ENAMETOOLONG;
                 cvs_log(LP_ERRNO, "%s", rcspath);                  cvs_log(LP_ERRNO, "%s", rcspath);
                 return (-1);                  return (CVS_EX_DATA);
         }          }
   
         return (0);          return (0);

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33