summaryrefslogtreecommitdiff
path: root/security/openssh/patches/patch-au
blob: 7c67de63b1f114afffa5edc9a8d92a28ed4c3355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-au,v 1.2 2005/09/21 18:07:09 reed Exp $

--- openbsd-compat/bsd-openpty.c.orig	2005-02-25 17:04:29.000000000 -0600
+++ openbsd-compat/bsd-openpty.c
@@ -102,15 +102,17 @@
 		return (-1);
 	}
 
+#if !defined(HAVE_INTERIX)
 	/*
 	 * Try to push the appropriate streams modules, as described 
 	 * in Solaris pts(7).
 	 */
 	ioctl(*aslave, I_PUSH, "ptem");
 	ioctl(*aslave, I_PUSH, "ldterm");
-# ifndef __hpux
+  # ifndef __hpux
 	ioctl(*aslave, I_PUSH, "ttcompat");
-# endif /* __hpux */
+  # endif /* __hpux */
+#endif /* !HAVE_INTERIX */
 
 	return (0);