Revision: 9745
          http://sourceforge.net/p/skim-app/code/9745
Author:   hofman
Date:     2018-04-10 17:17:51 +0000 (Tue, 10 Apr 2018)
Log Message:
-----------
Increase buffer size for zip. Somehow data got corrupted in a very weird way.

Modified Paths:
--------------
    trunk/SkimNotes/SKNExtendedAttributeManager.m

Modified: trunk/SkimNotes/SKNExtendedAttributeManager.m
===================================================================
--- trunk/SkimNotes/SKNExtendedAttributeManager.m       2018-04-09 09:50:15 UTC 
(rev 9744)
+++ trunk/SkimNotes/SKNExtendedAttributeManager.m       2018-04-10 17:17:51 UTC 
(rev 9745)
@@ -572,7 +572,7 @@
        stream.next_in = (char *)[data bytes];
        stream.avail_in = (int)[data length];
        
-    const unsigned int buffer_size = 10000;
+    const unsigned int buffer_size = 1000000;
        NSMutableData *buffer = [[NSMutableData alloc] 
initWithLength:buffer_size];
        stream.next_out = [buffer mutableBytes];
        stream.avail_out = buffer_size;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to