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

Diff for /src/usr.bin/cvs/cvs.c between version 1.109 and 1.110

version 1.109, 2006/11/14 15:39:41 version 1.110, 2006/11/28 13:31:19
Line 255 
Line 255 
                 return (0);                  return (0);
         }          }
   
         i = snprintf(fpath, sizeof(fpath), "%s/%s", current_cvsroot->cr_dir,          if (cvs_path_cat(current_cvsroot->cr_dir, CVS_PATH_ROOT,
             CVS_PATH_ROOT);              fpath, sizeof(fpath)) >= sizeof(fpath))
                   fatal("main: truncation");
   
         if (stat(fpath, &st) == -1 && cvs_cmdop != CVS_OP_INIT) {          if (stat(fpath, &st) == -1 && cvs_cmdop != CVS_OP_INIT) {
                 if (errno == ENOENT)                  if (errno == ENOENT)
                         fatal("repository '%s' does not exist",                          fatal("repository '%s' does not exist",

Legend:
Removed from v.1.109  
changed lines
  Added in v.1.110