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

fix: ignore EOF error on Windows directory scanning #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jan 31, 2023

  1. fix: ignore EOF error on Windows directory scanning

    In karrick#68, the scanner now returns any error that was encountered. On
    Windows, the call to Readdir will return an EOF when it is done reading
    a directory.
    
    I believe the desired behavior is to throw an error on any actual
    errors, but in the case of EOF, continue on to the next directory. As
    such, check for the EOF and return no error while releasing resources.
    
    fixes: karrick#70
    powersj committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    e058955 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. add missing io import

    powersj committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    7d99b07 View commit details
    Browse the repository at this point in the history