Module Name: xsrc
Committed By: wiz
Date: Thu Jul 12 10:14:50 UTC 2012
Modified Files:
xsrc/external/mit/xconsole/dist: xconsole.c
Log Message:
Revert local patch adding a call to openpty.
Defining HAS_OPENPTY (which I just added in the crossover Makefile)
has the same effect.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/xconsole/dist/xconsole.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xconsole/dist/xconsole.c
diff -u xsrc/external/mit/xconsole/dist/xconsole.c:1.3 xsrc/external/mit/xconsole/dist/xconsole.c:1.4
--- xsrc/external/mit/xconsole/dist/xconsole.c:1.3 Sun Nov 21 01:19:29 2010
+++ xsrc/external/mit/xconsole/dist/xconsole.c Thu Jul 12 10:14:50 2012
@@ -912,9 +912,6 @@ get_pty(int *pty, int *tty, char *ttydev
return 0;
}
#else
-#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
- return openpty(pty, tty, ttydev, NULL, NULL);
-#else
strcpy (ttydev, "/dev/ttyxx");
strcpy (ptydev, "/dev/ptyxx");
while (PTYCHAR1[letter]) {
@@ -941,7 +938,6 @@ get_pty(int *pty, int *tty, char *ttydev
devindex = 0;
(void) letter++;
}
-#endif /* BSD4_4 else not BSD4_4 */
#endif /* sgi else not sgi */
#endif /* CRAY else not CRAY */
#endif /* umips && SYSTYPE_SYSV */