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

Diff for /src/usr.bin/cvs/entries.c between version 1.103 and 1.104

version 1.103, 2015/01/16 06:40:07 version 1.104, 2015/04/04 14:19:10
Line 151 
Line 151 
         ent->ce_rev = NULL;          ent->ce_rev = NULL;
         ent->ce_date = -1;          ent->ce_date = -1;
         ent->ce_tag = NULL;          ent->ce_tag = NULL;
           ent->ce_time = NULL;
   
         if (ent->ce_type == CVS_ENT_FILE) {          if (ent->ce_type == CVS_ENT_FILE) {
                 if (*fields[2] == '-') {                  if (*fields[2] == '-') {
Line 187 
Line 188 
                         if (strncmp(fields[3], "Result of merge+", 16) == 0)                          if (strncmp(fields[3], "Result of merge+", 16) == 0)
                                 p += 16;                                  p += 16;
   
                           ent->ce_time = xstrdup(p);
   
                         /* Date field can be a '+=' with remote to indicate                          /* Date field can be a '+=' with remote to indicate
                          * conflict.  In this case do nothing. */                           * conflict.  In this case do nothing. */
                         if (strptime(p, "%a %b %d %T %Y", &t) != NULL) {                          if (strptime(p, "%a %b %d %T %Y", &t) != NULL) {
Line 383 
Line 386 
 {  {
         if (ent->ce_rev != NULL)          if (ent->ce_rev != NULL)
                 rcsnum_free(ent->ce_rev);                  rcsnum_free(ent->ce_rev);
           if (ent->ce_time != NULL)
                   xfree(ent->ce_time);
   
         xfree(ent->ce_buf);          xfree(ent->ce_buf);
         xfree(ent);          xfree(ent);
 }  }

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104