aboutsummaryrefslogtreecommitdiff
path: root/x11/rxvt-devel/files/patch-src::command.c
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-07 20:38:01 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-07 20:38:01 +0000
commit6fadcecae4cb1eba781f31cd8a5447e9385540dd (patch)
treea60efbc492ca9147d50518daec3e71cc5406fcd2 /x11/rxvt-devel/files/patch-src::command.c
parent0f5826b3c5ffcf7f6cfa56968e087514cdfda518 (diff)
Notes
Diffstat (limited to 'x11/rxvt-devel/files/patch-src::command.c')
-rw-r--r--x11/rxvt-devel/files/patch-src::command.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/rxvt-devel/files/patch-src::command.c b/x11/rxvt-devel/files/patch-src::command.c
index 6f3e7e9a7bcb..32cabe35a474 100644
--- a/x11/rxvt-devel/files/patch-src::command.c
+++ b/x11/rxvt-devel/files/patch-src::command.c
@@ -1,11 +1,11 @@
--- src/command.c.orig Thu Apr 5 03:52:39 2001
+++ src/command.c Fri Jun 22 13:36:57 2001
-@@ -2796,7 +2796,7 @@ rxvt_tt_printf(rxvt_t *r, const char *fm
+@@ -2878,7 +2878,7 @@
unsigned char buf[256];
va_start(arg_ptr, fmt);
-- vsprintf(buf, fmt, arg_ptr);
-+ vsnprintf(buf, sizeof(buf), fmt, arg_ptr);
+- vsprintf((char *)buf, fmt, arg_ptr);
++ vsnprintf((char *)buf, sizeof((char *) buf), fmt, arg_ptr);
va_end(arg_ptr);
- rxvt_tt_write(r, buf, STRLEN(buf));
+ rxvt_tt_write(r, buf, (unsigned int)STRLEN(buf));
}