Return to file.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.206, 2008/01/10 09:37:26 | version 1.207, 2008/01/10 10:09:27 | ||
---|---|---|---|
|
|
||
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); |