(getpty): call openpty if it exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10464 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -398,7 +398,7 @@ int getpty(int *ptynum)
|
|||||||
#if SunOS == 40
|
#if SunOS == 40
|
||||||
int dummy;
|
int dummy;
|
||||||
#endif
|
#endif
|
||||||
#if 0 /* && defined(HAVE_OPENPTY) */
|
#if __linux
|
||||||
int master;
|
int master;
|
||||||
int slave;
|
int slave;
|
||||||
if(openpty(&master, &slave, line, 0, 0) == 0){
|
if(openpty(&master, &slave, line, 0, 0) == 0){
|
||||||
|
Reference in New Issue
Block a user