summaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode/files/patch-src::command.C
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-08-25 20:23:55 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-08-25 20:23:55 +0000
commit883d95f0669d1ef236351405fd067cd24be31b4b (patch)
tree6084736a9ac191ef491bfdf15d3ca56ca09b9e6a /x11/rxvt-unicode/files/patch-src::command.C
parentUpdate to 2.4.9. This is just a quick fix release that pretty (diff)
Upgrade to 3.9.
Notes
Notes: svn path=/head/; revision=117275
Diffstat (limited to 'x11/rxvt-unicode/files/patch-src::command.C')
-rw-r--r--x11/rxvt-unicode/files/patch-src::command.C12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11/rxvt-unicode/files/patch-src::command.C b/x11/rxvt-unicode/files/patch-src::command.C
index 98008058103b..2e8a0e73712c 100644
--- a/x11/rxvt-unicode/files/patch-src::command.C
+++ b/x11/rxvt-unicode/files/patch-src::command.C
@@ -1,5 +1,5 @@
---- src/command.C.orig Mon Aug 16 09:13:25 2004
-+++ src/command.C Tue Aug 17 23:49:02 2004
+--- src/command.C.orig Wed Aug 25 05:45:20 2004
++++ src/command.C Wed Aug 25 19:28:03 2004
@@ -51,6 +51,8 @@
#include "command.h"
@@ -9,7 +9,7 @@
/*----------------------------------------------------------------------*/
-@@ -4250,7 +4252,7 @@
+@@ -4287,7 +4289,7 @@
{
if (v_buflen == 0)
{
@@ -18,12 +18,12 @@
if ((unsigned int)written == len)
return;
-@@ -4268,7 +4270,7 @@
+@@ -4305,7 +4307,7 @@
for (;;)
{
-- int written = write (pty.pty, v_buffer, min (MAX_PTY_WRITE, v_buflen));
-+ int written = write (pty.pty, v_buffer, min ((unsigned int) MAX_PTY_WRITE, v_buflen));
+- int written = write (pty.pty, v_buffer, min (v_buflen, MAX_PTY_WRITE));
++ int written = write (pty.pty, v_buffer, min (v_buflen, (unsigned int) MAX_PTY_WRITE));
if (written > 0)
{