Skip to content

Optimize file_readable()#1878

Open
michaelortmann wants to merge 1 commit intoeggheads:developfrom
michaelortmann:file_readable
Open

Optimize file_readable()#1878
michaelortmann wants to merge 1 commit intoeggheads:developfrom
michaelortmann:file_readable

Conversation

@michaelortmann
Copy link
Member

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Optimize file_readable() down to using a single call to POSIX 2001 access()

Additional description (if needed):
We could even #define it, but that would probably break binary modules, so this is the best fully compatible solution.

Test cases demonstrating functionality (if applicable):
No functional change

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

Successfully merging this pull request may close these issues.

1 participant