> i don't think so. there is an extra layer > of times in the snap directory, and > history doesn't know about it.
it seems to try
if(strstr(ndump, "snap")){
fd = open(b, OREAD);
if(fd < 0)
continue;
n = dirreadall(fd, &dir);
close(fd);
if(n == 0)
continue;
for(i = n-1; i > 0; i--){
if(dir[i].mtime > t0)
break;
}
sprint(b, "/n/%s/%.4d/%.2d%.2d/%s%s", ndump,
tm->year+1900, tm->mon+1, tm->mday,
dir[i].name, f);
free(dir);
