[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.107 and 1.108

version 1.107, 2006/07/09 01:57:51 version 1.108, 2006/11/14 15:23:50
Line 396 
Line 396 
         struct cvs_cmd *cmdp;          struct cvs_cmd *cmdp;
         FILE *fp;          FILE *fp;
   
         if (strlcpy(rcpath, cvs_homedir, sizeof(rcpath)) >= sizeof(rcpath) ||          if (cvs_path_cat(cvs_homedir, CVS_PATH_RC, rcpath, sizeof(rcpath))
             strlcat(rcpath, "/", sizeof(rcpath)) >= sizeof(rcpath) ||              >= sizeof(rcpath)) {
             strlcat(rcpath, CVS_PATH_RC, sizeof(rcpath)) >= sizeof(rcpath)) {                  cvs_log(LP_ERRNO, "%s", rcpath);
                 errno = ENAMETOOLONG;  
                 cvs_log(LP_ERR, "%s", rcpath);  
                 return;                  return;
         }          }
   

Legend:
Removed from v.1.107  
changed lines
  Added in v.1.108