Skip to content
New issue

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

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

Already on GitHub? # 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?

@felixhandte felixhandte force-pushed the reject-irregular-dicts branch from 77a6d00 to a0d0763 Compare December 7, 2021 17:51
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 force-pushed the reject-irregular-dicts branch from a0d0763 to 9985e10 Compare December 8, 2021 21:19
@felixhandte felixhandte merged commit 0c26d98 into facebook:dev Dec 9, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants