The problem is that your vac archive has a
single top-level directory named ".".  Good luck
cd'ing into that directory.  ;-)

Did you run "vac ." ?  I though vac had been fixed
not to record that as a top-level name, but maybe
it was only / that got fixed.

In src/cmd/vac/vacfs.c you will find the workaround
from when vac used to save archives with a top-level
directory named "/":

VacFile*
_vfWalk(VacFile *file, char *name)
{
        VacFile *n;

        n = vacfilewalk(file, name);
        if(n)
                return n;
        if(strcmp(name, "SLASH") == 0)
                return vacfilewalk(file, "/");
        return nil;
}

Try adding near the end:

        if(strcmp(name, "DOT") == 0)
                return vacfilewalk(file, ".");

And then you should be able to access your archive.

Russ

Reply via email to