Eric Blake wrote: > Now we get to work on addressing the platform fallout
Here are my findings, with a testdir built for --avoid=pt_chown openpty ptsname_r * Linux/glibc 2.11: All tests passed. * MacOS X 10.5: All tests passed. * FreeBSD 6.4: PASS: test-ptsname test-ptsname_r.c:187: assertion failed FAIL: test-ptsname_r result is EAGAIN, not 0. * OpenBSD 4.9: All tests passed. * AIX 5.1, 5.2: Alarm clock FAIL: test-ptsname Alarm clock FAIL: test-ptsname_r Increasing the timeout from 5 to 50 seconds doesn't help. * HP-UX 11.00: read result unexpected FAIL: test-openpty PASS: test-ptsname PASS: test-ptsname_r * IRIX 6.5: test-openpty hangs PASS: test-ptsname test-ptsname_r.c:111: assertion failed FAIL: test-ptsname_r * OSF/1 5.1: Compilation error cc -O -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gllib -I./../gllib -c test-ptsname_r.c cc: Error: test-ptsname_r.c, line 22: In the initializer for signature_check22, "ptsname_r" is not declared. (undeclared) SIGNATURE_CHECK (ptsname_r, int, (int, char *, size_t)); ^ *** Exit 1 * Solaris 10: PASS: test-ptsname test-ptsname_r.c:111: assertion failed FAIL: test-ptsname_r * Cygwin 1.5.25, 1.7.9: test-grantpt.c:34: assertion failed FAIL: test-grantpt.exe PASS: test-ptsname.exe PASS: test-ptsname_r.exe test-unlockpt.c:35: assertion failed FAIL: test-unlockpt.exe Bruno -- In memoriam Cornstalk <http://en.wikipedia.org/wiki/Cornstalk>