diff options
author | lioux <lioux@FreeBSD.org> | 2001-11-07 20:38:01 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-11-07 20:38:01 +0000 |
commit | e57ca72c0f00b73955d3d93bf935ee2251dd069d (patch) | |
tree | e1d8adb72ce734195e198bc2ffaa63966e37d797 /x11/rxvt-devel/files | |
parent | ffe584a0d55eeab1e769a16df73c609365d776df (diff) | |
download | FreeBSD-ports-e57ca72c0f00b73955d3d93bf935ee2251dd069d.zip FreeBSD-ports-e57ca72c0f00b73955d3d93bf935ee2251dd069d.tar.gz |
Update to 2.7.7
Diffstat (limited to 'x11/rxvt-devel/files')
-rw-r--r-- | x11/rxvt-devel/files/patch-src::command.c | 8 |
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 6f3e7e9..32cabe3 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)); } |