[BACK]Return to add.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/add.c between version 1.63 and 1.64

version 1.63, 2006/12/19 15:12:59 version 1.64, 2006/12/19 15:15:14
Line 111 
Line 111 
                 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);

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64