version 1.48, 2005/09/06 15:29:33 |
version 1.49, 2005/09/06 17:08:05 |
|
|
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) { |
|
|
|
|
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 */ |