We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71c013d commit 602c224Copy full SHA for 602c224
Source/SPFileHandle.m
@@ -145,6 +145,7 @@ - (id)initWithFile:(FILE *)theFile fromPath:(const char *)path mode:(int)mode
145
}
146
// In write mode, set up a thread to handle writing in the background
147
else if (fileMode == O_WRONLY) {
148
+ wrappedFile->file = theFile; // can be changed later via setCompressionFormat:
149
processingThread = [[NSThread alloc] initWithTarget:self selector:@selector(_writeBufferToData) object:nil];
150
[processingThread setName:@"SPFileHandle data writing thread"];
151
[processingThread start];
0 commit comments