22 lines
599 B
Text
22 lines
599 B
Text
$NetBSD: patch-ae,v 1.2 2005/12/04 01:10:33 joerg Exp $
|
|
|
|
--- main.c.orig 2002-01-09 00:41:11.000000000 +0000
|
|
+++ main.c
|
|
@@ -1527,7 +1527,8 @@ char **argv;
|
|
if (ioctl (pty, FIONBIO, (char *)&mode) == -1) SysError (ERROR_FIONBIO);
|
|
#endif /* USE_SYSV_TERMIO */
|
|
|
|
-#if defined(linux)||defined(SVR4)||(defined(hpux)&&OSMAJORVERSION>=10)
|
|
+
|
|
+#ifndef VMS
|
|
pty_mask = pty;
|
|
X_mask = Xsocket;
|
|
FD_ZERO(&Select_mask);
|
|
@@ -3332,7 +3333,6 @@ static SIGNAL_T reapchild (n)
|
|
consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9)
|
|
char *fmt;
|
|
{
|
|
- extern int errno;
|
|
extern char *SysErrorMsg();
|
|
int oerrno;
|
|
int f;
|