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

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);