xterm: update to 321
This commit is contained in:
parent
ae380b5510
commit
3c9dc4f14b
1 changed files with 7 additions and 7 deletions
|
@ -1,15 +1,15 @@
|
|||
--- main.c.orig 2015-08-19 00:25:35.000000000 +0000
|
||||
+++ main.c 2015-08-28 23:43:21.631378928 +0000
|
||||
@@ -2628,7 +2628,7 @@
|
||||
|
||||
#if defined(USE_OPENPTY)
|
||||
result = openpty(pty, &opened_tty, ttydev, NULL, NULL);
|
||||
--- main.c.orig
|
||||
+++ main.c
|
||||
@@ -2654,7 +2654,7 @@ get_pty(int *pty, char *from GCC_UNUSED)
|
||||
close(opened_tty);
|
||||
opened_tty = -1;
|
||||
}
|
||||
-#elif defined(HAVE_POSIX_OPENPT) && defined(HAVE_PTSNAME) && defined(HAVE_GRANTPT_PTY_ISATTY)
|
||||
+#elif defined(HAVE_POSIX_OPENPT) && defined(HAVE_PTSNAME)
|
||||
if ((*pty = posix_openpt(O_RDWR)) >= 0) {
|
||||
char *name = ptsname(*pty);
|
||||
if (name != 0) {
|
||||
@@ -3708,7 +3708,7 @@
|
||||
@@ -3735,7 +3735,7 @@ spawnXTerm(XtermWidget xw)
|
||||
/*
|
||||
* now in child process
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue