mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-22 11:04:51 -04:00
21 lines
604 B
Plaintext
21 lines
604 B
Plaintext
$NetBSD: patch-aa,v 1.4 2015/04/20 07:35:00 wiz Exp $
|
|
|
|
--- lib/util/pseudo.c.orig 2014-07-23 01:45:41.000000000 +0000
|
|
+++ lib/util/pseudo.c
|
|
@@ -325,6 +325,7 @@ int pty_open(int *masterfd, int *slavefd
|
|
|
|
#ifndef HAVE_CYGWIN
|
|
#ifndef HAVE_LINUX /* linux does not use the streams module */
|
|
+#ifdef I_PUSH
|
|
/*
|
|
* Push the appropriate streams modules, as described in Solaris pts(7).
|
|
* HP-UX pts(7) doesn't have ttcompat module.
|
|
@@ -349,6 +350,7 @@ int pty_open(int *masterfd, int *slavefd
|
|
#endif
|
|
#endif
|
|
#endif
|
|
+#endif
|
|
|
|
#else /* HAVE_DEV_PTMX */
|
|
#ifdef HAVE_DEV_PTS_AND_PTC
|