=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/remove.c,v retrieving revision 1.69 retrieving revision 1.70 diff -c -r1.69 -r1.70 *** src/usr.bin/cvs/remove.c 2008/01/31 10:15:05 1.69 --- src/usr.bin/cvs/remove.c 2008/02/04 15:07:33 1.70 *************** *** 1,4 **** ! /* $OpenBSD: remove.c,v 1.69 2008/01/31 10:15:05 tobias Exp $ */ /* * Copyright (c) 2005, 2006 Xavier Santolaria * --- 1,4 ---- ! /* $OpenBSD: remove.c,v 1.70 2008/02/04 15:07:33 tobias Exp $ */ /* * Copyright (c) 2005, 2006 Xavier Santolaria * *************** *** 186,200 **** } return; default: ! rcsnum_tostr(cf->file_ent->ce_rev, rbuf, ! sizeof(rbuf)); ctime_r(&cf->file_ent->ce_mtime, tbuf); tbuf[strcspn(tbuf, "\n")] = '\0'; entry = xmalloc(CVS_ENT_MAXLINELEN); (void)xsnprintf(entry, CVS_ENT_MAXLINELEN, ! "/%s/-%s/%s//", cf->file_name, rbuf, tbuf); if (cvs_server_active == 1) { cvs_server_update_entry("Checked-in", cf); --- 186,201 ---- } return; default: ! rcsnum_tostr(cf->file_ent->ce_rev, rbuf, sizeof(rbuf)); ctime_r(&cf->file_ent->ce_mtime, tbuf); tbuf[strcspn(tbuf, "\n")] = '\0'; entry = xmalloc(CVS_ENT_MAXLINELEN); (void)xsnprintf(entry, CVS_ENT_MAXLINELEN, ! "/%s/-%s/%s/%s/%s", cf->file_name, rbuf, tbuf, ! cf->file_ent->ce_opts ? : "", ! cf->file_ent->ce_tag ? : ""); if (cvs_server_active == 1) { cvs_server_update_entry("Checked-in", cf);