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

URL: http://svn.gna.org/viewcvs/freeciv?rev=30309&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_5/utility/ioz.c

Modified: branches/S2_5/utility/ioz.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/utility/ioz.c?rev=30309&r1=30308&r2=30309&view=diff
==============================================================================
--- branches/S2_5/utility/ioz.c (original)
+++ branches/S2_5/utility/ioz.c Fri Oct 30 01:13:30 2015
@@ -70,7 +70,7 @@
 
 #ifdef 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