Similarly, on mingw I'm seeing this test failure: test-ptsname_r.c:117: assertion failed FAIL: test-ptsname_r.exe
and on MSVC 9, it just crashes: FAIL: test-ptsname_r.exe Again, the reason lies in the isatty() function. This fixes it. 2012-06-24 Bruno Haible <[email protected]> ptsname_r: Fix test failure on native Windows. * modules/ptsname_r (Depends-on): Add isatty. --- modules/ptsname_r.orig Sun Jun 24 17:06:04 2012 +++ modules/ptsname_r Sun Jun 24 16:57:42 2012 @@ -8,6 +8,7 @@ Depends-on: stdlib extensions +isatty [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1] ttyname_r [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1] configure.ac:
