Differences From Artifact [ed72626b27]:
- File
src/OFStdIOStream.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 4746) [annotate] [blame] [check-ins using]
To Artifact [5324fa0d07]:
- File
src/OFStdIOStream.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 4748) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
108 109 110 111 112 113 114 | { if (_fd == -1) return true; return _atEndOfStream; } | | | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | { if (_fd == -1) return true; return _atEndOfStream; } - (size_t)lowlevelReadIntoBuffer: (void *)buffer length: (size_t)length { ssize_t ret; if (_fd == -1 || _atEndOfStream) @throw [OFReadFailedException exceptionWithObject: self requestedLength: length]; |
︙ | ︙ | |||
138 139 140 141 142 143 144 | if (ret == 0) _atEndOfStream = true; return ret; } | | | 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | if (ret == 0) _atEndOfStream = true; return ret; } - (void)lowlevelWriteBuffer: (const void *)buffer length: (size_t)length { if (_fd == -1 || _atEndOfStream) @throw [OFWriteFailedException exceptionWithObject: self requestedLength: length]; #ifndef OF_WINDOWS |
︙ | ︙ |