[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.69 and 1.70

version 1.69, 2007/01/11 02:35:55 version 1.70, 2007/01/12 19:28:12
Line 118 
Line 118 
 {  {
         int l;          int l;
         size_t len;          size_t len;
           RCSNUM *head;
         const char *status;          const char *status;
         char buf[128], timebuf[32], revbuf[32];          char buf[128], timebuf[32], revbuf[32];
         struct rcs_sym *sym;          struct rcs_sym *sym;
Line 187 
Line 188 
                 if (len >= sizeof(buf))                  if (len >= sizeof(buf))
                         fatal("cvs_status_local: truncation");                          fatal("cvs_status_local: truncation");
         } else {          } else {
                 rcsnum_tostr(rcs_head_get(cf->file_rcs),                  head = rcs_head_get(cf->file_rcs);
                     revbuf, sizeof(revbuf));                  rcsnum_tostr(head, revbuf, sizeof(revbuf));
                   rcsnum_free(head);
                 l = snprintf(buf, sizeof(buf), "%s\t%s", revbuf,                  l = snprintf(buf, sizeof(buf), "%s\t%s", revbuf,
                     cf->file_rpath);                      cf->file_rpath);
                 if (l == -1 || l >= (int)sizeof(buf))                  if (l == -1 || l >= (int)sizeof(buf))

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70