Merge pull request #64 from ktdreyer/openpty
roken: don't ignore HAVE_OPENPTY on linux
This commit is contained in:
@@ -99,7 +99,7 @@ open_pty(void)
|
|||||||
printf("implement open_pty\n");
|
printf("implement open_pty\n");
|
||||||
exit(77);
|
exit(77);
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_OPENPTY) || defined(__linux) || defined(__osf__) /* XXX */
|
#if defined(HAVE_OPENPTY) || defined(__osf__) /* XXX */
|
||||||
if(openpty(&master, &slave, line, 0, 0) == 0)
|
if(openpty(&master, &slave, line, 0, 0) == 0)
|
||||||
return;
|
return;
|
||||||
#endif /* HAVE_OPENPTY .... */
|
#endif /* HAVE_OPENPTY .... */
|
||||||
|
Reference in New Issue
Block a user