-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [adding bug-gnulib]
According to Jay on 6/16/2009 1:04 AM: > m4-1.4.13 > spawni.c: In function `gl_posix_spawn_internal': > spawni.c:233: warning: implicit declaration of function `seteuid' > spawni.c:234: warning: implicit declaration of function `setegid' > spawni.c:354: error: `ESTALE' undeclared (first use in this function) > spawni.c:354: error: (Each undeclared identifier is reported only once > spawni.c:354: error: for each function it appears in.) > > => suggest #ifdef ESTALE around the use of ESTALE > (I see Posix mandates ESTALE, and gnulib works around it missing on > some systems.) > > > seteuid/gid are "only" warnings so I guess ok. > seteuid is in libc.a but not any headers. Thanks for the report. Yes, gnulib can work around missing ESTALE, but we would need to port errno_h.m4 to detect interix's situation on which errno's are already defined. Interix has not had a champion on the gnulib list lately, so if you are willing, please step in to help us port to your platform. Are there any other errors besides ESTALE missing? Or put another way, would modifying the gl_HEADER_ERRNO_H macro to check for missing ESTALE be sufficient to detect that your system's errno.h is lacking, and that the existing replacement header would then pick up all the slack? Seeing the contents of config.log around the point where it tells you "checking for complete errno.h" would be helpful. > > > m4-1.4.12 > fatal-signal.c: In function `install_handlers': > fatal-signal.c:189: error: `SA_NODEFER' undeclared (first use in this > function) I'm not worried about fixing older m4 versions. Let's focus on getting the latest to work. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAko3ip4ACgkQ84KuGfSFAYDSowCdG6ssrKEM51K3OextdaipEY6a 0MEAn2dn80VncrT4c66XkvzZMDZPK1KV =DWJX -----END PGP SIGNATURE-----