ttyname_r: Work around bug on OSF/1 5.1.
authorBruno Haible <bruno@clisp.org>
Wed, 22 Dec 2010 16:09:26 +0000 (17:09 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 22 Dec 2010 16:09:26 +0000 (17:09 +0100)
commitb34e3963935bb561dc2a4ab29477722ac03da164
tree670748b221e40066f3631b2f9355522e02281c2d
parent132c6a6ce406bec92f2df601cec19d603108bac6
ttyname_r: Work around bug on OSF/1 5.1.

* doc/posix-functions/ttyname_r.texi: Mention the OSF/1 bug.
* m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Detect the OSF/1 bug. Say "no"
instead of "guessing no" when the OSF/1 bug or the Solaris bug is
present.
* lib/ttyname_r.c (ttyname_r): Update comments.
ChangeLog
doc/posix-functions/ttyname_r.texi
lib/ttyname_r.c
m4/ttyname_r.m4