On Fri, Jul 15, 2005 at 02:32:50AM -0700, Gisle Aas wrote: > +#ifdef HAS_DIRFD > + PUSHi(fchdir(dirfd(IoDIRP(io))) >= 0); > +#else > + DIE(aTHX PL_no_func, "dirfd"); > +#endif
This might explain the smoke failures I was having on AIX, starting from 25157. (last successful make was 25150) Perhaps I haven't looked hard enough, but there doesn't seem to be a dirfd() on AIX, and Configure agrees: $ ./Configure -Dusedevel -des [...] dirfd() NOT found. [...] $ grep -i dirfd conf* config.h:/* HAS_DIRFD: config.h: * This manifest constant lets the C program know that dirfd config.h:/*#define HAS_DIRFD / **/ config.sh:d_dirfd='undef' config_h.SH:/* HAS_DIRFD: config_h.SH: * This manifest constant lets the C program know that dirfd config_h.SH:#$d_dirfd HAS_DIRFD /**/ configure.com:$ WC "d_dirfd='undef'" $ make [...] ld: 0711-317 ERROR: Undefined symbol: .dirfd But: $ ./Configure -Dusedevel -Ud_dirfd -des Works allright... So what's going on here? -- $_ = "Campo Weijerman [rfc822://nl.ibm.com/]" and tr-[:]/-<@>-d and print;