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

Diff for /src/usr.bin/cvs/status.c between version 1.31 and 1.32

version 1.31, 2005/07/07 07:37:43 version 1.32, 2005/07/07 14:08:41
Line 213 
Line 213 
             buf, cvs_statstr[cf->cf_cvstat]);              buf, cvs_statstr[cf->cf_cvstat]);
   
         if (cf->cf_cvstat == CVS_FST_UNKNOWN) {          if (cf->cf_cvstat == CVS_FST_UNKNOWN) {
                 snprintf(buf, sizeof(buf), "No entry for %s", cf->cf_name);                  len = snprintf(buf, sizeof(buf), "No entry for %s",
                       cf->cf_name);
         } else {          } else {
                 snprintf(buf, sizeof(buf), "%s",                  len = snprintf(buf, sizeof(buf), "%s",
                     rcsnum_tostr(cf->cf_lrev, buf, sizeof(buf)));                      rcsnum_tostr(cf->cf_lrev, buf, sizeof(buf)));
         }          }
   
           if (len == -1 || len >= (int)sizeof(len))
                   return (CVS_EX_DATA);
   
         cvs_printf("   Working revision:\t%s\n", buf);          cvs_printf("   Working revision:\t%s\n", buf);
   

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