readdirSyncRecursive: follow symlinks only if we haven't read the destination yet #87

Open
theosp wants to merge 1 commit from theosp/readdirSyncRecursive-symlink-loop-bugfix into master

1 commit

Author SHA1 Message Date
Daniel Chcouri
feddabd57b readdirSyncRecursive: follow symlinks only if we haven't read the destination yet
Fix an issue whre readdirSyncRecursive will get into infinite loop for
circular symlinks.

Note: fix to readdirRecursive is also needed.
2014-05-14 06:58:36 +03:00