[PATCH] careadlinkat: stop exporting careadlinkatcwd

2013-02-08 Thread Paul Eggert
Only Emacs used it directly, and Emacs no longer needs it. * NEWS: Document this simplification. * lib/areadlink.c (careadlinkatcwd): Move here from careadlinkat.c, and make it static. Include , for abort, and unistd.h, for readlink. * lib/careadlinkat.c (careadlinkatcwd): Move to areadlink.c. Don

[PATCH] extensions: port better to HP-UX

2013-02-08 Thread Paul Eggert
This is merged from git Autoconf. * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): On hosts that need _XOPEN_SOURCE, define it when configuring, too, so that it's compatible with the value used when compiling. --- ChangeLog| 6 ++ m4/extensions.m4 | 29 +++-- 2 f

Re: openpty module broken on Solaris

2013-02-08 Thread Reuben Thomas
On 8 February 2013 16:09, Paul Eggert wrote: > Thanks for the diagnosis. I should have proofread the Jan 31 > openpty patch better. Reuben, if the openpty module is used, > application code should not inspect HAVE_OPENPTY to decide whether > to use openpty -- instead, the idea is that applicati

Re: openpty module broken on Solaris

2013-02-08 Thread Paul Eggert
Thanks for the diagnosis. I should have proofread the Jan 31 openpty patch better. Reuben, if the openpty module is used, application code should not inspect HAVE_OPENPTY to decide whether to use openpty -- instead, the idea is that application code can simply invoke openpty as if it were a GNU p

Re: [PATCH] extensions: port better to MINUX 3, HP-UX, autoheader 2.62

2013-02-08 Thread Ludovic Courtès
Paul Eggert skribis: > When deciding whether to define _XOPEN_SOURCE, inspect the > preprocessor macro __hpux instead of the more-heavyweight > operation of requiring AC_CANONICAL_HOST. Define _NETBSD_HOST on > MINUX, for MINUX 3. I think you meant “MINIX 3”. :-) Ludo’.

Re: openpty module broken on Solaris

2013-02-08 Thread Mats Erik Andersson
fredag den 8 februari 2013 klockan 10:01 skrev Mats Erik Andersson detta: > The change introduced in gnulib-9fd is broken > on OpenSolaris and Solaris 11. And OpenBSD. > The reason is that said patch erroneously leads > to a claim > >/* config.h */ ># define HAVE_OPENPTY 1 It seems

Also OpenBSD chokes on openpty

2013-02-08 Thread Mats Erik Andersson
The commit 9fd displays a different error behaviour on OpenBSD, than that previously reported for Solaris. OpenBSD 5.0 does in fact offer openpty(3), but the openpty module now erroneously claim /* config.h */ /* #undef HAVE_OPENPTY */ based on the report during configuration check:

Re: secure_getenv is broken on FreeBSD.

2013-02-08 Thread Mats Erik Andersson
torsdag den 7 februari 2013 klockan 22:04 skrev Paul Eggert detta: > Sorry, I don't know how hydra works. Hydra only provides a public error report and a convenient build daemon. I myself build a tar-archive on GNU/Linux, then manually conduct builds on virtualized BSD systems on an OpenSolaris s

openpty module broken on Solaris

2013-02-08 Thread Mats Erik Andersson
The change introduced in gnulib-9fd is broken on OpenSolaris and Solaris 11. The reason is that said patch erroneously leads to a claim /* config.h */ # define HAVE_OPENPTY 1 This leads to an undefined linker reference in "openpty.o" and thus also in "libgnu.a". On behalf of GNU Inetu