Jim, > Is there any type of file system where readdir works?
I tried only HFS+ mounts (on two different volumes). > What version of Darwin are you using? Darwin 7.9.0 = MacOS X 10.3.9. > I see no failure with Darwin-8.7.0, so I might > add a run-test (like coreutils' old readdir.m4), > if it's likely to be independent of file system type. I will test and report for other file systems. In the run test, you can use /bin/rm, since /bin/rm has the same bug as the one you are fixing for GNU rm. Bruno