summaryrefslogtreecommitdiff
path: root/x11/xterm/patches/patch-ptydata_c
blob: fa7cf5f05dd69558470413b3ddbc3ed433d7c967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$OpenBSD$

Index: ptydata.c
--- ptydata.c.orig
+++ ptydata.c
@@ -281,7 +281,7 @@ readPtyData(XtermWidget xw, PtySelect * select_mask, P
 		Panic("input: read returned unexpected error (%d)\n", save_err);
 	    size = 0;
 	} else if (size == 0) {
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
 	    NormalExit();
 #else
 	    Panic("input: read returned zero\n", 0);