xterm: update to 321

This commit is contained in:
Alessio Sergi 2016-01-03 01:06:30 +01:00
parent ae380b5510
commit 3c9dc4f14b

View file

@ -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
*/