[PD] question about getdir(Guenter Geiger)'s code