From b42cba5cb5b6a312d3b26802ad9a8e13c7883607 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 10 Aug 2001 13:34:57 +0000 Subject: [PATCH] (getpty): call openpty if it exists git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10464 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/telnet/telnetd/sys_term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appl/telnet/telnetd/sys_term.c b/appl/telnet/telnetd/sys_term.c index 7c9fcb7a3..6a43136f8 100644 --- a/appl/telnet/telnetd/sys_term.c +++ b/appl/telnet/telnetd/sys_term.c @@ -398,7 +398,7 @@ int getpty(int *ptynum) #if SunOS == 40 int dummy; #endif -#if 0 /* && defined(HAVE_OPENPTY) */ +#if __linux int master; int slave; if(openpty(&master, &slave, line, 0, 0) == 0){