[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.46 and 1.47

version 1.46, 2005/08/19 08:48:30 version 1.47, 2005/08/22 08:53:12
Line 447 
Line 447 
                         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_REMOVED)                              ent->ce_status == CVS_ENT_REMOVED)
                                 strlcpy(timebuf, CVS_DATE_DUMMY,                                  strlcpy(timebuf, CVS_DATE_DUMMY,
                                     sizeof(timebuf));                                      sizeof(timebuf));
                         else {                          else if (ent->ce_status == CVS_ENT_ADDED) {
                                   strlcpy(timebuf, "Initial ", sizeof(timebuf));
                                   strlcat(timebuf, ent->ce_name, sizeof(timebuf));
                           } else {
                                 ctime_r(&(ent->ce_mtime), timebuf);                                  ctime_r(&(ent->ce_mtime), timebuf);
                                 len = strlen(timebuf);                                  len = strlen(timebuf);
                                 if ((len > 0) && (timebuf[len - 1] == '\n'))                                  if ((len > 0) && (timebuf[len - 1] == '\n'))

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47