Differences From Artifact [a34749abe1]:
- File
src/OFFile.m
— part of check-in
[2a27cf3000]
at
2016-01-03 00:41:26
on branch trunk
— Update copyright
While at it, also update the mail address. (user: js, size: 6610) [annotate] [blame] [check-ins using]
To Artifact [70abf75d98]:
- File
src/OFFile.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: 6627) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | - (void)close { if (_fd != -1) close(_fd); _fd = -1; } - (void)dealloc { if (_fd != -1) close(_fd); [super dealloc]; } @end | > > | 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 | - (void)close { if (_fd != -1) close(_fd); _fd = -1; [super close]; } - (void)dealloc { if (_fd != -1) close(_fd); [super dealloc]; } @end |