Differences From Artifact [7499aebd7d]:
- File src/OFINIFile.m — part of check-in [ff17b98ab2] at 2015-04-11 11:01:48 on branch trunk — OFOpenFileFailedException: Rename File -> Item (user: js, size: 4341) [annotate] [blame] [check-ins using]
To Artifact [754d91375c]:
- File
src/OFINIFile.m
— part of check-in
[6b13727ce0]
at
2015-11-29 14:02:11
on branch trunk
— Make use of fast enumeration
Now that we require GCC >= 4.6 anyway, there's no more reason to not use
it anymore. (user: js, size: 4166) [annotate] [blame] [check-ins using]
︙ | |||
102 103 104 105 106 107 108 | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | - - + | [super dealloc]; } - (OFINICategory*)categoryForName: (OFString*)name { void *pool = objc_autoreleasePoolPush(); |
︙ | |||
185 186 187 188 189 190 191 | 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | - - - + | - (void)writeToFile: (OFString*)path encoding: (of_string_encoding_t)encoding { void *pool = objc_autoreleasePoolPush(); OFFile *file = [OFFile fileWithPath: path mode: @"w"]; |