Author: cazfi
Date: Fri Oct 30 01:13:24 2015
New Revision: 30308

URL: http://svn.gna.org/viewcvs/freeciv?rev=30308&view=rev
Log:
Increased max plain file size in xz decompression to 1024k.

Reported by Andreas Røsdal <andreasr>

See bug #23966

Modified:
    branches/S2_6/utility/ioz.c

Modified: branches/S2_6/utility/ioz.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/utility/ioz.c?rev=30308&r1=30307&r2=30308&view=diff
==============================================================================
--- branches/S2_6/utility/ioz.c (original)
+++ branches/S2_6/utility/ioz.c Fri Oct 30 01:13:24 2015
@@ -70,7 +70,7 @@
 
 #ifdef FREECIV_HAVE_LIBLZMA
 
-#define PLAIN_FILE_BUF_SIZE (250*1024)     /* 250kb */
+#define PLAIN_FILE_BUF_SIZE (1024*1024)    /* 1024kb */
 #define XZ_DECODER_TEST_SIZE (4*1024)      /* 4kb */
 
 /* In my tests 7Mb proved to be not enough and with 10Mb decompression


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to