[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.97 and 1.98

version 1.97, 2007/01/11 17:44:18 version 1.98, 2007/01/17 17:54:50
Line 611 
Line 611 
                                 }                                  }
                         }                          }
                 } else {                  } else {
                         if (strlcat(dst, dir, len) >= len)                          if (cvs_cmdop != CVS_OP_CHECKOUT) {
                                 fatal("cvs_get_repository_name: truncation");                                  if (strlcat(dst, dir, len) >= len)
                                           fatal("cvs_get_repository_name: "
                                               "truncation");
                           }
                 }                  }
         }          }
 }  }
Line 727 
Line 730 
                 if (mkdir(rpath, 0755) == -1 && errno != EEXIST)                  if (mkdir(rpath, 0755) == -1 && errno != EEXIST)
                         fatal("cvs_mkpath: %s: %s", rpath, strerror(errno));                          fatal("cvs_mkpath: %s: %s", rpath, strerror(errno));
   
                 cvs_mkadmin(rpath, current_cvsroot->cr_dir, repo,                  cvs_mkadmin(rpath, current_cvsroot->cr_str, repo,
                     NULL, NULL, 0);                      NULL, NULL, 0);
         }          }
   

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.98