bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ptsname_r test


From: Bruno Haible
Subject: Re: ptsname_r test
Date: Sun, 24 Jun 2012 17:09:27 +0200
User-agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )

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  <address@hidden>

        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:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]