Code is in, documentation is not. Please help me find good names and default values 8-)
On Mon, 08 Sep 2008, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > OK, combining suggestions by Gilles and Dominique here is what we > could do: > > * add a new sttribute for maxSymlinkRecursionDepth (better name > appreciated) and make it default to 5 (up for discussion as well). > This limits how many times the same symlink can be followed. The attribute is maxLevelsOfSymlinks inspired by the error message you get on Linux when you hit the OS limit in an infinite loop. It's default value is 1 which means we wouldn't traverse a symlink more than once. > * If the same simple name appears for the MAXth time, (MAX + 1)th time > check whether that directory is a symlink. If it is, check its > canonical name and the canonical names of all other occurances of > directories with the same name. > If they all point to the same location If more than MAX of them point to the same location > , ignore the directory. If they point to different locations > recurse but revisit things if the same name is encountered for the > (MAX + 1)th time (MAX + 2)th time > and so on. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]