Paul Eggert wrote:
> In that case, please try the attached patch.
I agree that the right thing to do is to add more cross-compilation guesses.
Here are the results of native compilation on the relevant platforms:
gl_cv_func_getcwd_abort_bug gl_cv_func_getcwd_path_max
Linux CentOS 5 no no, but it is partly working
Linux CentOS 6 no no, but it is partly working
Linux CentOS 7 no yes
Linux Alpine 3.7 (musl libc) no no, but it is partly working
Linux alpha (Debian 5) no no, but it is partly working
kFreeBSD yes no, but it is partly working
Hurd no yes
AIX 7.1 no no, it has the AIX bug
I'll propose a patch soon, if you don't beat me to it.
Bruno