Commit 17c9d2354a8abf6791da45b125454cfeb39152fc

Paul Eggert 2024-06-14T10:26:30

getcwd: simplify abort bug checking * m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): Don’t invoke gl_CHECK_FUNC_GETPAGESIZE or #define or use HAVE_GETPAGESIZE. Protect ‘bug_possible’ with ‘defined _SC_PAGESIZE’ instead. That’s good enough as the buggy platforms all define _SC_PAGESIZE. * modules/getcwd (Files): Remove m4/getpagesize.m4. * tests/test-getcwd.c (getpagsize): Remove replacement macro. (test_abort_bug): Similar fix for ‘bug_possible’.