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

Diff for /src/usr.bin/cvs/file.c between version 1.206 and 1.207

version 1.206, 2008/01/10 09:37:26 version 1.207, 2008/01/10 10:09:27
Line 216 
Line 216 
         for (p = rpath; p[0] == '.' && p[1] == '/';)          for (p = rpath; p[0] == '.' && p[1] == '/';)
                 p += 2;                  p += 2;
   
         cf = (struct cvs_file *)xmalloc(sizeof(*cf));          cf = (struct cvs_file *)xcalloc(1, sizeof(*cf));
         memset(cf, 0, sizeof(*cf));  
   
         cf->file_name = xstrdup(f);          cf->file_name = xstrdup(f);
         cf->file_wd = xstrdup(d);          cf->file_wd = xstrdup(d);

Legend:
Removed from v.1.206  
changed lines
  Added in v.1.207