use*_*437 6 iphone overflow bit
当我运行我的应用程序时,我将此输出提供给控制台:
位长溢出代码11位7-> 5代码16位4-> 5
位长溢出代码4位6-> 7
位长溢出代码3位6-> 7代码0位6-> 7
位长溢出代码16位4-> 5
位长溢出代码4位6-> 7代码5位6-> 5代码16位4-> 5
位长溢出代码16位4-> 5
位长溢出代码0位6-> 7
位长溢出代码11位6-> 7
该应用程序将拉出3个文件并将其保存到其文档文件夹中,除了此输出外,所有内容似乎都可以.
更新:
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
@try {
NSString *docsPath =[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject];
NSString *filePath = [docsPath stringByAppendingPathComponent:@"ZipTest.zip"];
ZipFile *zipFile = [[ZipFile alloc] initWithFileName:filePath mode:ZipFileModeCreate];
ZipWriteStream *stream;
if (self.textSwitch.on) {
stream = [zipFile writeFileInZipWithName:@"text.txt" compressionLevel:ZipCompressionLevelBest];
}
[zipFile close];
[zipFile release];
}
@catch (ZipException *ze) {}
@catch (id e) {}
[pool drain];
Run Code Online (Sandbox Code Playgroud)
这是什么意思?
谢谢