Differences From Artifact [53b11ea420]:
- File
src/OFStdIOStream.m
— part of check-in
[e53a4fd61c]
at
2016-05-28 11:37:46
on branch trunk
— Add a reference to OFStdIOStream_Win32Console
This is required for static linking, as otherwise
+[OFStdIOStream_Win32Console load] will not be called. (user: js, size: 4287) [annotate] [blame] [check-ins using]
To Artifact [3491f0262a]:
- File
src/OFStdIOStream.m
— part of check-in
[1de551cb5f]
at
2016-06-07 22:56:28
on branch trunk
— Add support for reusing OFStreams after close
Right now, this is only useful for OFTCPSocket, as this is the only
class so far not establishing the stream in the init method. However,
this adds the general infrastructure to allow reuse to all subclasses of
OFStream. (user: js, size: 4304) [annotate] [blame] [check-ins using]
︙ | |||
173 174 175 176 177 178 179 180 181 182 183 184 185 186 | 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | + + | - (void)close { if (_fd != -1) close(_fd); _fd = -1; [super close]; } - autorelease { return self; } |
︙ |