[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.85 and 1.86

version 1.85, 2008/01/10 09:44:32 version 1.86, 2008/01/10 10:08:22
Line 381 
Line 381 
                 rcsnum_tostr(cf->file_ent->ce_rev, revbuf, sizeof(revbuf));                  rcsnum_tostr(cf->file_ent->ce_rev, revbuf, sizeof(revbuf));
   
                 ctime_r(&cf->file_ent->ce_mtime, tbuf);                  ctime_r(&cf->file_ent->ce_mtime, tbuf);
                 if (tbuf[strlen(tbuf) - 1] == '\n')                  tbuf[strcspn(tbuf, "\n")] = '\0';
                         tbuf[strlen(tbuf) - 1] = '\0';  
   
                 /* Remove the '-' prefixing the version number. */                  /* Remove the '-' prefixing the version number. */
                 (void)xsnprintf(entry, CVS_ENT_MAXLINELEN,                  (void)xsnprintf(entry, CVS_ENT_MAXLINELEN,

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86