vac: major cleanup and bug fixes

This commit is contained in:
Russ Cox 2008-06-14 23:08:50 -04:00
parent e9b70a5f4c
commit ecc0a1b0e7
8 changed files with 1442 additions and 1289 deletions

View file

@ -1044,7 +1044,7 @@ dirsinkwritefile(DirSink *k, VacFile *vf)
{
VtEntry dir;
if(vacfilegetvtentry(vf, &dir) < 0)
if(vacfilegetentries(vf, &dir, nil) < 0)
return -1;
dirsinkwrite(k, &dir);
return 0;