On 1/5/19, Bruno Haible <[email protected]> wrote:
> Adding more debugging statements, I see that it hangs in the line
>   if (!isatty (slave))
>
> Commenting out this line fixes the issue; all 85 tests in this
> directory then pass.
>
> Note: The code in gnulib/lib/openpty.c, which is tested on many platforms,
> does not contain an isatty() call in this place.

I've taken that call to isatty out. I was concerned that the ioctl's
were being performed now even when they are unnecessary (they were on
my Slackware 14.1 system), so I changed the preprocessor condition to
check __sun and __hpux, instead of HAVE_STROPTS_H - this is the way it
is done in the gnulib code you referred to.

Reply via email to