Comment 13 for bug 755441

Revision history for this message
Daniel Pielmeier (daniel-pielmeier) wrote :

I took a look at it and I think I found a solution for this problem.

The walkfiles procedure is calling itself which in some cases causes an infinite loop when a symbolic link is pointing to a directory.

Before going into the recursion the patch checks if the object in question is a link and if the target of the link is a directory and then breaks the for loop. Omitting the links to directories should not be a problem as the directories itself are checked anyway during recursion.