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

Directory class under windows inconsistent behavior #627

Open
jeleclaire opened this issue May 18, 2017 · 1 comment
Open

Directory class under windows inconsistent behavior #627

jeleclaire opened this issue May 18, 2017 · 1 comment
Milestone

Comments

@jeleclaire
Copy link

Directory's method countItems() gives correct number of entries, but getFirst(String entry) and getNext(String entry) will give more results as the first two entries returned are "." and "..".
So if using getNext() in a loop will result in more iterations than simply looping with the countItems() method. I only tested the functionality under Windows with VS 15 - so I don't know for Linux.

@philthiel
Copy link
Contributor

Same on macOS. Needs rewrite, we anyway should move to boost filesystem.
Furthermore, I have the impression that most of the functionality in the directory class is not used.

@philthiel philthiel added this to the BALL 2.0 milestone May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants