Revision: 5175
http://skim-app.svn.sourceforge.net/skim-app/?rev=5175&view=rev
Author: hofman
Date: 2009-01-27 23:00:09 +0000 (Tue, 27 Jan 2009)
Log Message:
-----------
We should always compress EAs when we're saving EAs in fragments, as reading
the fragments expects it and it's used to avoid misinterpreting plist data.
Shouldn't be a problem, because no compression only makes sense when data is
not split.
Modified Paths:
--------------
trunk/SkimNotes/SKNExtendedAttributeManager.m
Modified: trunk/SkimNotes/SKNExtendedAttributeManager.m
===================================================================
--- trunk/SkimNotes/SKNExtendedAttributeManager.m 2009-01-27 22:12:33 UTC
(rev 5174)
+++ trunk/SkimNotes/SKNExtendedAttributeManager.m 2009-01-27 23:00:09 UTC
(rev 5175)
@@ -315,8 +315,7 @@
if ((options & kSKNXattrNoSplitData) == 0 && namePrefix && [value length]
> MAX_XATTR_LENGTH) {
// compress to save space, and so we don't identify this as a plist
when reading it (in case it really is plist data)
- if ((options & kSKNXattrNoCompress) == 0)
- value = [self bzipData:value];
+ value = [self bzipData:value];
// this will be a unique identifier for the set of keys we're about to
write (appending a counter to the UUID)
NSString *uniqueValue = [namePrefix
stringByAppendingString:UNIQUE_VALUE];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit