
16 Apr
2008
16 Apr
'08
8:32 a.m.
On Tuesday 15 April 2008 15:44:49 Ovanes Markarian wrote:
This is what I was going to mention in my post with . and .. special directories. With the approach used the infinite loop should happen already with the first occurence of .-directory, which would recurse in the same directory and find the first item (.-dir again).
No because boost::filesystem directory iterators do not expose (ie automatically skip) "." and "..". -- Mihai RUSU Email: dizzy@roedu.net "Linux is obsolete" -- AST