View | Details | Raw Unified | Return to bug 2945 | Differences between
and this patch

Collapse All | Expand All

(-)a/openbsd-compat/bsd-openpty.c (+9 lines)
Lines 121-126 openpty(int *amaster, int *aslave, char *name, struct termios *termp, Link Here
121
		return (-1);
121
		return (-1);
122
	}
122
	}
123
123
124
# if defined(I_FIND) && defined(__SVR4)
125
	/*
126
	 * If the streams modules have already been pushed then there
127
	 * is no more work to do here.
128
	 */
129
	if (ioctl(*aslave, I_FIND, "ptem") != 0)
130
		return 0;
131
# endif
132
124
	/*
133
	/*
125
	 * Try to push the appropriate streams modules, as described
134
	 * Try to push the appropriate streams modules, as described
126
	 * in Solaris pts(7).
135
	 * in Solaris pts(7).

Return to bug 2945