[sysadmin-bin] increase max uncompressed size



commit 42fa113ddc29724b85e37f3e940c24cea2a916b5
Author: Olav Vitters <olav vitters nl>
Date:   Wed May 3 22:46:46 2017 +0200

    increase max uncompressed size

 ftpadmin |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ftpadmin b/ftpadmin
index fa8360c..fa43b99 100755
--- a/ftpadmin
+++ b/ftpadmin
@@ -545,7 +545,7 @@ class TarInfo(BasicInfo):
                 errors['UNIQ_DIR'] = 'Files not in the correct directory (expected %s, found %s)' % 
(test_uniq_dir, uniq_dir)
 
             test_eof_data = (tar_end_of_file_pos - tar_end_of_data_pos)
-            MAX_EXTRA_DATA=16384
+            MAX_EXTRA_DATA=20480
             if test_eof_data > MAX_EXTRA_DATA:
                 errors['EXTRA_DATA'] = 'Too much uncompressed tarball data (expected max %s, found %s); use 
tar-ustar in AM_INIT_AUTOMAKE!' % (human_size(MAX_EXTRA_DATA), human_size(test_eof_data))
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]