Differences From Artifact [a36962d678]:
- File src/OFTarArchive.m — part of check-in [504e13cf00] at 2017-05-13 22:38:02 on branch trunk — Reduce retain + autorelease (user: js, size: 2367) [annotate] [blame] [check-ins using]
To Artifact [cd4c802a1e]:
- File
src/OFTarArchive.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 2367) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
75 76 77 78 79 80 81 | { union { char c[512]; uint32_t u32[512 / sizeof(uint32_t)]; } buffer; bool empty = true; | | | 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | { union { char c[512]; uint32_t u32[512 / sizeof(uint32_t)]; } buffer; bool empty = true; [_lastReturnedEntry of_skip]; [_lastReturnedEntry close]; [_lastReturnedEntry release]; _lastReturnedEntry = nil; if ([_stream isAtEndOfStream]) return nil; |
︙ | ︙ | |||
102 103 104 105 106 107 108 | if (buffer.u32[i] != 0) @throw [OFInvalidFormatException exception]; return nil; } _lastReturnedEntry = [[OFTarArchiveEntry alloc] | | | 102 103 104 105 106 107 108 109 110 111 112 113 114 | if (buffer.u32[i] != 0) @throw [OFInvalidFormatException exception]; return nil; } _lastReturnedEntry = [[OFTarArchiveEntry alloc] of_initWithHeader: buffer.c stream: _stream]; return _lastReturnedEntry; } @end |