grantpt() called for solaris in sshpty.c, but requires HAVE_DEV_PTMX, which gets unset

Toni L. Harbaugh-Blackford harbaugh at
Fri Aug 30 22:49:39 EST 2002

There is a call for grantpt() in sshpty.c if HAVE_DEV_PTMX is defined.
However, HAVE_DEV_PTMX gets undef'd in sshpty.c if HAVE_OPENPTY is defined.

Both are set to 1 in my config.h, so grantpt() does not get called for tru64.

If the code were modified in sshpty so that grantpt() would be called
for tru64, would that fix the problem?

Toni Harbaugh-Blackford                     harbaugh at
AlphaServer 8400 System Administrator
SAIC/NCI Frederick Advanced Biomedical Computing Center

More information about the openssh-unix-dev mailing list