ryanmcgrath / wrench-js

Recursive file operations in Node.js
MIT License
435 stars 71 forks source link

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

Open theosp opened 10 years ago

theosp commented 10 years ago

Fix an issue whre readdirSyncRecursive will get into infinite loop for circular symlinks.

Note: fix to readdirRecursive is also needed.