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

Reject Irregular Dictionary Files #2910

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

felixhandte
Copy link
Contributor

I hadn't seen #2890, so I wrote my own version. I like this approach a little
better, since it does an explicit check for a regular file, rather than
passing a magic value.

Addresses #2874.

@felixhandte felixhandte force-pushed the reject-irregular-dicts branch 2 times, most recently from bd2e3ec to 21035ff Compare December 6, 2021 20:12
@terrelln
Copy link
Contributor

terrelln commented Dec 6, 2021

Looks good to me, except that the MinGW tests are failing. I wonder if the stat is failing?

I hadn't seen facebook#2890, so I wrote my own version. I like this approach a little
better, since it does an explicit check for a regular file, rather than
passing a magic value.

Addresses facebook#2874.
@felixhandte felixhandte merged commit 0c26d98 into facebook:dev Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants