summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-26 00:52:10 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-26 00:52:10 +0000
commitb9261a280f11181b8618f81f37f784cb9d84e83b (patch)
tree1b7189870364c52d356c228ce75d64ec2ba79d9e /games-fps
parentStable on x86 wrt bug #132213 (diff)
downloadgentoo-2-b9261a280f11181b8618f81f37f784cb9d84e83b.tar.gz
gentoo-2-b9261a280f11181b8618f81f37f784cb9d84e83b.tar.bz2
gentoo-2-b9261a280f11181b8618f81f37f784cb9d84e83b.zip
increase buffer size in printf func #134266 by Denilson
(Portage version: 2.1_rc2-r1)
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/quake1/files/fix-sys_printf.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/games-fps/quake1/files/fix-sys_printf.patch b/games-fps/quake1/files/fix-sys_printf.patch
index 5b8e468ed521..a36b2add0df2 100644
--- a/games-fps/quake1/files/fix-sys_printf.patch
+++ b/games-fps/quake1/files/fix-sys_printf.patch
@@ -1,22 +1,22 @@
---- WinQuake/sys_linux.c.orig 2003-08-03 02:54:02.900882698 -0400
-+++ WinQuake/sys_linux.c 2003-08-03 02:54:24.568968240 -0400
+--- WinQuake/sys_linux.c
++++ WinQuake/sys_linux.c
@@ -86,7 +86,7 @@
void Sys_Printf (char *fmt, ...)
{
va_list argptr;
- char text[1024];
-+ char text[2048];
++ char text[4096];
unsigned char *p;
va_start (argptr,fmt);
---- QW/client/sys_linux.c.orig 2003-08-03 02:53:55.186276383 -0400
-+++ QW/client/sys_linux.c 2003-08-03 02:54:18.706027413 -0400
+--- QW/client/sys_linux.c
++++ QW/client/sys_linux.c
@@ -141,7 +141,7 @@
void Sys_Error (char *error, ...)
{
va_list argptr;
- char string[1024];
-+ char string[2048];
++ char string[4096];
// change stdin to non blocking
fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~FNDELAY);