You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mac SDK: DirectoryInfo.EnumerateDirectories Method does not handle symbolic link very well
General
I made a recursive call to DirectoryInfo.EnumerateDirectories to get subdirectories and files.
It works on Windows 10 and Ubuntu 18.04. However, it crashes on Mac OS High Sierra 10.13.6. After further investigation, it seems to be caught in an infinite loop when it detects a symbolic link.
I tried to replicate the issue on Windows 10 and the code seems to ignore them. I haven't tested Ubuntu yet.
If the expectation is to allow the method to be consistent in both Mac and Windows, I think this should be considered a bug.
The text was updated successfully, but these errors were encountered:
Issue Title
Mac SDK: DirectoryInfo.EnumerateDirectories Method does not handle symbolic link very well
General
I made a recursive call to DirectoryInfo.EnumerateDirectories to get subdirectories and files.
It works on Windows 10 and Ubuntu 18.04. However, it crashes on Mac OS High Sierra 10.13.6. After further investigation, it seems to be caught in an infinite loop when it detects a symbolic link.
I tried to replicate the issue on Windows 10 and the code seems to ignore them. I haven't tested Ubuntu yet.
If the expectation is to allow the method to be consistent in both Mac and Windows, I think this should be considered a bug.
The text was updated successfully, but these errors were encountered: