Author: cazfi
Date: Fri Oct 30 01:13:19 2015
New Revision: 30307

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

Reported by Andreas Røsdal <andreasr>

See bug #23966

Modified:
    trunk/utility/ioz.c

Modified: trunk/utility/ioz.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/ioz.c?rev=30307&r1=30306&r2=30307&view=diff
==============================================================================
--- trunk/utility/ioz.c (original)
+++ trunk/utility/ioz.c Fri Oct 30 01:13:19 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