On OSF/1, I'm seeing this test failure in an *interactive* "make check" of
a ptsname_r testdir:
test-ptsname_r.c:193: assertion failed
FAIL: test-ptsname_r
It turns out the cause is a bug in gnulib's ttyname_r: It fails to add a
trailing NUL byte to the output string. This fixes it.
2012-06
On OSF/1 5.1, the ttyname_r test fails:
test-ttyname_r.c:45: assertion failed
sh: 367584 Abort - core dumped
FAIL: test-ttyname_r
The reason is that ttyname_r stores its result in the buffer, ignoring
the buffer's size. This patch provides a workaround:
2010-12-22 Bruno Haible
ttyna