ptsname_r: Avoid compilation error on OSF/1 5.1.
authorBruno Haible <bruno@clisp.org>
Thu, 10 Nov 2011 12:48:16 +0000 (13:48 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 10 Nov 2011 12:48:16 +0000 (13:48 +0100)
commitf5562fca6f341accafc32a5285a0262625df0fde
tree0c2815d8c5963d6ca2f667ae37af0bd427f0528c
parent24a579b40979e51868e07b56ea307c1b2c12bcff
ptsname_r: Avoid compilation error on OSF/1 5.1.

* lib/stdlib.in.h (ptsname_r): Override if REPLACE_PTSNAME_R is 1.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_PTSNAME_R.
* m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): Set REPLACE_PTSNAME_R if the
function is not declared or incompatibly declared.
* modules/stdlib (Makefile.am): Substitute REPLACE_PTSNAME_R.
* modules/ptsname_r (Depends-on, configure.ac): Update.
* doc/glibc-functions/ptsname_r.texi: Mention the OSF/1 problems.
ChangeLog
doc/glibc-functions/ptsname_r.texi
lib/stdlib.in.h
m4/ptsname_r.m4
m4/stdlib_h.m4
modules/ptsname_r
modules/stdlib