[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.21 and 1.22

version 1.21, 2005/04/16 18:07:35 version 1.22, 2005/04/16 20:05:05
Line 559 
Line 559 
                 (void)fclose(fp);                  (void)fclose(fp);
         }          }
   
         snprintf(path, sizeof(path), "%s/" CVS_PATH_REPOSITORY, dpath);          l = snprintf(path, sizeof(path), "%s/" CVS_PATH_REPOSITORY, dpath);
         if (l == -1 || l >= (int)sizeof(path)) {          if (l == -1 || l >= (int)sizeof(path)) {
                 errno = ENAMETOOLONG;                  errno = ENAMETOOLONG;
                 cvs_log(LP_ERRNO, "%s", path);                  cvs_log(LP_ERRNO, "%s", path);

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22