File: double-max_depositlen.patch

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (16 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: upgraded MAX_DEPOSITLEN to 16 MB
 fix for a bug when restoring a class archive bigger than 8 MB, which is not
 uncommon.
Index: wims-4.27a~dfsg1/src/wims.h
===================================================================
--- wims-4.27a~dfsg1.orig/src/wims.h
+++ wims-4.27a~dfsg1/src/wims.h
@@ -27,7 +27,7 @@
 /* limit of query_string. */
 #define QUERY_STRING_LIMIT 204799
 /* maximal length of deposited file */
-#define MAX_DEPOSITLEN (8*1024*1024)
+#define MAX_DEPOSITLEN (16*1024*1024)
 /* maximal number of registered variables */
 #define MAX_VAR_NUM 512
 /* length limit for public_html/bin executable names */