ptsname_r: Make it consistent with ptsname on AIX.
authorBruno Haible <bruno@clisp.org>
Sun, 24 Jun 2012 23:00:57 +0000 (01:00 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 24 Jun 2012 23:00:57 +0000 (01:00 +0200)
commitd9200335a44aaf4ab8eff5c57c564dd1f2d6c46e
tree3cbe8b517e7b93f93b685cec9ceb77fffb1aa1e5
parentd46c27a98eb3a11b60fdf76107ab96487d747ef2
ptsname_r: Make it consistent with ptsname on AIX.

* lib/ptsname_r.c (__ptsname_r): For AIX, use nearly the same
implementation as for OSF/1.
* tests/test-ptsname_r.c (main) [AIX]: Use the modern way of opening
a pty master.
ChangeLog
lib/ptsname_r.c
tests/test-ptsname_r.c