Differences From Artifact [5d66d418f0]:
- File src/OFData.m — part of check-in [7e5c81e186] at 2018-01-03 19:49:46 on branch trunk — Update copyright notice (user: js, size: 12922) [annotate] [blame] [check-ins using]
To Artifact [5e3c55fa09]:
- File src/OFData.m — part of check-in [87b416fb5a] at 2018-01-03 20:02:14 on branch trunk — OFData: Fix stream being uninitialized (user: js, size: 12989) [annotate] [blame] [check-ins using]
︙ | |||
246 247 248 249 250 251 252 253 254 255 256 257 258 259 | 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 | + + + | OFStream *stream; size_t pageSize; unsigned char *buffer; if ((URLHandler = [OFURLHandler handlerForURL: URL]) == nil) @throw [OFUnsupportedProtocolException exceptionWithURL: URL]; stream = [URLHandler openItemAtURL: URL mode: @"r"]; _itemSize = 1; _count = 0; pageSize = [OFSystemInfo pageSize]; buffer = [self allocMemoryWithSize: pageSize]; |
︙ |