diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPFileHandle.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPFileHandle.m b/Source/SPFileHandle.m index 3e0489a4..49bcd4a4 100644 --- a/Source/SPFileHandle.m +++ b/Source/SPFileHandle.m @@ -145,6 +145,7 @@ union SPSomeFileHandle { } // In write mode, set up a thread to handle writing in the background else if (fileMode == O_WRONLY) { + wrappedFile->file = theFile; // can be changed later via setCompressionFormat: processingThread = [[NSThread alloc] initWithTarget:self selector:@selector(_writeBufferToData) object:nil]; [processingThread setName:@"SPFileHandle data writing thread"]; [processingThread start]; |