summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-window.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/screen/files/patch-window.h')
-rw-r--r--sysutils/screen/files/patch-window.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/screen/files/patch-window.h b/sysutils/screen/files/patch-window.h
new file mode 100644
index 000000000000..348fcc223062
--- /dev/null
+++ b/sysutils/screen/files/patch-window.h
@@ -0,0 +1,23 @@
+--- window.h.orig 2025-05-15 15:31:27 UTC
++++ window.h
+@@ -79,7 +79,7 @@ struct pseudowin {
+ char p_cmd[MAXSTR];
+ char p_tty[MAXSTR];
+ char p_inbuf[IOSIZE]; /* buffered writing to p_ptyfd */
+- size_t p_inlen;
++ int p_inlen;
+ };
+
+ /* bits for fdpat: */
+@@ -157,9 +157,9 @@ struct Window {
+ int w_poll_zombie_timeout;
+ int w_ptyfd; /* fd of the master pty */
+ char w_inbuf[IOSIZE];
+- size_t w_inlen;
++ int w_inlen;
+ char w_outbuf[IOSIZE];
+- size_t w_outlen;
++ int w_outlen;
+ bool w_aflag; /* (-a option) */
+ bool w_dynamicaka; /* should we change name */
+ char *w_title; /* name of the window */