version 1.63, 2006/12/19 15:12:59 |
version 1.64, 2006/12/19 15:15:14 |
|
|
entry = xmalloc(CVS_ENT_MAXLINELEN); |
entry = xmalloc(CVS_ENT_MAXLINELEN); |
l = snprintf(entry, CVS_ENT_MAXLINELEN, |
l = snprintf(entry, CVS_ENT_MAXLINELEN, |
"D/%s/////", cf->file_name); |
"D/%s/////", cf->file_name); |
|
if (l == -1 || l >= CVS_ENT_MAXLINELEN) |
|
fatal("cvs_add_entry: overflow"); |
|
|
entlist = cvs_ent_open(cf->file_wd); |
entlist = cvs_ent_open(cf->file_wd); |
cvs_ent_add(entlist, entry); |
cvs_ent_add(entlist, entry); |
cvs_ent_close(entlist, ENT_SYNC); |
cvs_ent_close(entlist, ENT_SYNC); |