=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/entries.c,v retrieving revision 1.48 retrieving revision 1.49 diff -c -r1.48 -r1.49 *** src/usr.bin/cvs/entries.c 2005/09/06 15:29:33 1.48 --- src/usr.bin/cvs/entries.c 2005/09/06 17:08:05 1.49 *************** *** 1,4 **** ! /* $OpenBSD: entries.c,v 1.48 2005/09/06 15:29:33 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: entries.c,v 1.49 2005/09/06 17:08:05 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 448,456 **** revbuf[0] = '\0'; } else { rcsnum_tostr(ent->ce_rev, revbuf, sizeof(revbuf)); ! if ((ent->ce_mtime == CVS_DATE_DMSEC && ! (ent->ce_status != CVS_ENT_ADDED)) || ! ent->ce_status == CVS_ENT_REMOVED) strlcpy(timebuf, CVS_DATE_DUMMY, sizeof(timebuf)); else if (ent->ce_status == CVS_ENT_ADDED) { --- 448,455 ---- revbuf[0] = '\0'; } else { rcsnum_tostr(ent->ce_rev, revbuf, sizeof(revbuf)); ! if ((ent->ce_mtime == CVS_DATE_DMSEC) && ! (ent->ce_status != CVS_ENT_ADDED)) strlcpy(timebuf, CVS_DATE_DUMMY, sizeof(timebuf)); else if (ent->ce_status == CVS_ENT_ADDED) { *************** *** 473,479 **** fprintf(fp, "/%s/%s%s/%s/%s/%s\n", ent->ce_name, (ent->ce_status == CVS_ENT_REMOVED) ? "-" : "", revbuf, ! timebuf, "", ""); } /* terminating line */ --- 472,479 ---- fprintf(fp, "/%s/%s%s/%s/%s/%s\n", ent->ce_name, (ent->ce_status == CVS_ENT_REMOVED) ? "-" : "", revbuf, ! timebuf, (ent->ce_opts != NULL) ? ent->ce_opts : "", ! (ent->ce_tag != NULL) ? ent->ce_tag : ""); } /* terminating line */