tdh4vn / ziparchive

Automatically exported from code.google.com/p/ziparchive
0 stars 0 forks source link

Deprecated warning for attributesOfItemAtPath #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
in ZipArchive.mm, the following gives a deprecated warning:

    NSDictionary* attr = [[NSFileManager defaultManager] fileAttributesAtPath:file traverseLink:YES];

to fix it, change the code to:

    NSDictionary* attr = [[NSFileManager defaultManager] attributesOfItemAtPath:[file stringByResolvingSymlinksInPath] error:nil];

Original issue reported on code.google.com by christop...@gmail.com on 14 Jul 2010 at 11:39

GoogleCodeExporter commented 8 years ago
fixed here: http://github.com/soundevolution/ZipArchive/issues/3

Original comment by matt.con...@gmail.com on 26 Sep 2010 at 7:59

GoogleCodeExporter commented 8 years ago
was fixed back in r12,  just cleaning up tickets

Original comment by elinc...@hachisoft.com on 15 Feb 2011 at 8:18