Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scan_dirs() stuck in infinite loop on OS X #1

Open
g-hannah opened this issue Apr 3, 2019 · 0 comments
Open

scan_dirs() stuck in infinite loop on OS X #1

g-hannah opened this issue Apr 3, 2019 · 0 comments

Comments

@g-hannah
Copy link
Owner

g-hannah commented Apr 3, 2019

On OS X*, the scan_dirs() function gets stuck in an infinite loop, comparing the same file with itself. After reading the Mac OS X manual page for the *dir() functions, it seemed to have been due to the position in the directory obtained by telldir() becoming invalid after the closedir() and then following opendir(). After adding a #ifdef APPLE with a different way of doing things, the same infinite loop is happening.

*High Sierra

@g-hannah g-hannah changed the title #1 scan_dirs() stuck in infinite loop on OS X Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant