Improve the test for dirfd(), some systems #define it rather than have
an actual function.
3 files changed