Wednesday, October 18, 2000 01:30 AM
When recursively descending a directory tree, how does one avoid
an infinite loop in the case that a directory entry is actually a symbolic link to a directory higher up in the tree? I'm using the
objects to list the files in a directory, and then
to determine whether I need to recurse.