10.6 compatibility: Fix some new compiler warnings, and work around apparent regressions in NSTask and -stringByStandardizingPath.
5 // Created by Jens Alfke on 6/27/09.
6 // Copyright 2009 Jens Alfke. All rights reserved.
9 #import "NSData+gzip.h"
10 #import "GTMNSData+zlib.h"
12 @implementation NSData (gzip)
14 - (NSData*) my_gzippedWithCompression: (int)compression {
15 return [NSData gtm_dataByGzippingBytes: self.bytes
17 compressionLevel: compression];
20 - (NSData*) my_gunzipped {
21 return [NSData gtm_dataByInflatingBytes: self.bytes length: self.length];