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

Diff for /src/usr.bin/cvs/entries.c between version 1.48 and 1.49

version 1.48, 2005/09/06 15:29:33 version 1.49, 2005/09/06 17:08:05
Line 448 
Line 448 
                         revbuf[0] = '\0';                          revbuf[0] = '\0';
                 } else {                  } else {
                         rcsnum_tostr(ent->ce_rev, revbuf, sizeof(revbuf));                          rcsnum_tostr(ent->ce_rev, revbuf, sizeof(revbuf));
                         if ((ent->ce_mtime == CVS_DATE_DMSEC &&                          if ((ent->ce_mtime == CVS_DATE_DMSEC) &&
                             (ent->ce_status != CVS_ENT_ADDED)) ||                              (ent->ce_status != CVS_ENT_ADDED))
                             ent->ce_status == CVS_ENT_REMOVED)  
                                 strlcpy(timebuf, CVS_DATE_DUMMY,                                  strlcpy(timebuf, CVS_DATE_DUMMY,
                                     sizeof(timebuf));                                      sizeof(timebuf));
                         else if (ent->ce_status == CVS_ENT_ADDED) {                          else if (ent->ce_status == CVS_ENT_ADDED) {
Line 473 
Line 472 
   
                 fprintf(fp, "/%s/%s%s/%s/%s/%s\n", ent->ce_name,                  fprintf(fp, "/%s/%s%s/%s/%s/%s\n", ent->ce_name,
                     (ent->ce_status == CVS_ENT_REMOVED) ? "-" : "", revbuf,                      (ent->ce_status == CVS_ENT_REMOVED) ? "-" : "", revbuf,
                     timebuf, "", "");                      timebuf, (ent->ce_opts != NULL) ? ent->ce_opts : "",
                       (ent->ce_tag != NULL) ? ent->ce_tag : "");
         }          }
   
         /* terminating line */          /* terminating line */

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49