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
commit885011d595fa74b0e850db593f53351a6210779e (patch)
treee3ddac84efabd03326497d10837574c805edcaad /games-fps/quake1
parentupdate copyright (diff)
downloadhistorical-885011d595fa74b0e850db593f53351a6210779e.tar.gz
historical-885011d595fa74b0e850db593f53351a6210779e.tar.bz2
historical-885011d595fa74b0e850db593f53351a6210779e.zip
increase buffer size in printf func #134266 by Denilson
Package-Manager: portage-2.1_rc2-r1
Diffstat (limited to 'games-fps/quake1')
-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);