Skip to content
Snippets Groups Projects
Commit 1e8ae136 authored by Tom Lane's avatar Tom Lane
Browse files

Don't try to call posix_fadvise() unless <fcntl.h> supplies a declaration

for it.  Hopefully will fix core dump evidenced by some buildfarm members
since fadvise patch went in.  The actual definition of the function is not
ABI-compatible with compiler's default assumption in the absence of any
declaration, so it's clearly unsafe to try to call it without seeing a
declaration.
parent 22045666
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment