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

Diff for /src/usr.bin/cvs/update.c between version 1.147 and 1.148

version 1.147, 2008/06/08 16:32:34 version 1.148, 2008/06/09 22:31:24
Line 477 
Line 477 
 {  {
         time_t now;          time_t now;
         CVSENTRIES *entlist;          CVSENTRIES *entlist;
         char *entry, revbuf[CVS_REV_BUFSZ], timebuf[CVS_TIME_BUFSZ];          char *entry, revbuf[CVS_REV_BUFSZ];
         char sticky[CVS_ENT_MAXLINELEN], opt[4];          char sticky[CVS_ENT_MAXLINELEN], opt[4];
   
         cvs_log(LP_TRACE, "update_clear_conflict(%s)", cf->file_path);          cvs_log(LP_TRACE, "update_clear_conflict(%s)", cf->file_path);
   
         time(&now);  
         ctime_r(&now, timebuf);  
         timebuf[strcspn(timebuf, "\n")] = '\0';  
   
         rcsnum_tostr(cf->file_rcsrev, revbuf, sizeof(revbuf));          rcsnum_tostr(cf->file_rcsrev, revbuf, sizeof(revbuf));
   
         sticky[0] = '\0';          sticky[0] = '\0';
Line 498 
Line 494 
                 strlcpy(opt, cf->file_ent->ce_opts, sizeof(opt));                  strlcpy(opt, cf->file_ent->ce_opts, sizeof(opt));
   
         entry = xmalloc(CVS_ENT_MAXLINELEN);          entry = xmalloc(CVS_ENT_MAXLINELEN);
         cvs_ent_line_str(cf->file_name, revbuf, timebuf,          cvs_ent_line_str(cf->file_name, revbuf, "Result of merge",
             opt[0] != '\0' ? opt : "", sticky, 0, 0,              opt[0] != '\0' ? opt : "", sticky, 0, 0,
             entry, CVS_ENT_MAXLINELEN);              entry, CVS_ENT_MAXLINELEN);
   

Legend:
Removed from v.1.147  
changed lines
  Added in v.1.148