[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.104 and 1.105

version 1.104, 2015/04/04 14:19:10 version 1.105, 2015/08/20 22:32:41
Line 51 
Line 51 
                 current_list = NULL;                  current_list = NULL;
         }          }
   
         ep = (CVSENTRIES *)xcalloc(1, sizeof(*ep));          ep = xcalloc(1, sizeof(*ep));
         ep->cef_path = xstrdup(buf);          ep->cef_path = xstrdup(buf);
   
         (void)xsnprintf(buf, sizeof(buf), "%s/%s",          (void)xsnprintf(buf, sizeof(buf), "%s/%s",
Line 72 
Line 72 
                         if (buf[0] == 'D' && buf[1] == '\0')                          if (buf[0] == 'D' && buf[1] == '\0')
                                 break;                                  break;
   
                         line = (struct cvs_ent_line *)xmalloc(sizeof(*line));                          line = xmalloc(sizeof(*line));
                         line->buf = xstrdup(buf);                          line->buf = xstrdup(buf);
                         TAILQ_INSERT_TAIL(&(ep->cef_ent), line, entries_list);                          TAILQ_INSERT_TAIL(&(ep->cef_ent), line, entries_list);
                 }                  }
Line 329 
Line 329 
   
         (void)fclose(fp);          (void)fclose(fp);
   
         l = (struct cvs_ent_line *)xmalloc(sizeof(*l));          l = xmalloc(sizeof(*l));
         l->buf = xstrdup(line);          l->buf = xstrdup(line);
         TAILQ_INSERT_TAIL(&(ep->cef_ent), l, entries_list);          TAILQ_INSERT_TAIL(&(ep->cef_ent), l, entries_list);
 }  }

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