Minimum checking that we have enough space before attempting decompression. Change config default compressed file from no limit to 20 MB

This commit is contained in:
Jean-Francois Dockes
2015-04-22 17:08:06 +02:00
parent a6d69247df
commit 906312519c
8 changed files with 50 additions and 10 deletions
+1
View File
@@ -8,6 +8,7 @@ initvariables $0
(
recollq ASPCSPCCONTENT
recollq BSPCSPCCONTENT
recollq CSPCSPCCONTENT
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
+2
View File
@@ -2,3 +2,5 @@
text/plain [file:///home/dockes/projets/fulltext/testrecoll/compressed/a b.txt.gz] [a b.txt.gz] 15 bytes
1 results
text/plain [file:///home/dockes/projets/fulltext/testrecoll/compressed/b b.txt.bz2] [b b.txt.bz2] 15 bytes
1 results
text/plain [file:///home/dockes/projets/fulltext/testrecoll/compressed/nosuff] [nosuff] 15 bytes