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

version 1.85, 2007/11/11 10:06:52 version 1.86, 2008/01/10 10:09:27
Line 37 
Line 37 
         struct cvs_ent *ent;          struct cvs_ent *ent;
         struct cvs_ent_line *line;          struct cvs_ent_line *line;
   
         ep = (CVSENTRIES *)xmalloc(sizeof(*ep));          ep = (CVSENTRIES *)xcalloc(1, sizeof(*ep));
         memset(ep, 0, sizeof(*ep));  
   
         (void)xsnprintf(buf, sizeof(buf), "%s/%s", dir, CVS_PATH_ENTRIES);          (void)xsnprintf(buf, sizeof(buf), "%s/%s", dir, CVS_PATH_ENTRIES);
   

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