Differences From Artifact [74aee00696]:
- File
src/exceptions/OFReadOrWriteFailedException.m
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 1707) [annotate] [blame] [check-ins using]
To Artifact [a5ac8c3823]:
- File src/exceptions/OFReadOrWriteFailedException.m — part of check-in [590c377d8a] at 2013-04-26 19:42:52 on branch trunk — Make it possible to disable sockets. (user: js, size: 1768) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
16 17 18 19 20 21 22 | #include "config.h" #include <stdlib.h> #import "OFReadOrWriteFailedException.h" #import "OFString.h" | > | > | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #include "config.h" #include <stdlib.h> #import "OFReadOrWriteFailedException.h" #import "OFString.h" #ifdef OF_HAVE_SOCKETS # import "OFStreamSocket.h" #endif #import "common.h" @implementation OFReadOrWriteFailedException + (instancetype)exceptionWithClass: (Class)class stream: (OFStream*)stream requestedLength: (size_t)requestedLength |
︙ | ︙ | |||
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | requestedLength: (size_t)requestedLength { self = [super initWithClass: class]; _stream = [stream retain]; _requestedLength = requestedLength; if ([class isSubclassOfClass: [OFStreamSocket class]]) _errNo = GET_SOCK_ERRNO; else _errNo = GET_ERRNO; return self; } - (void)dealloc { | > > | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | requestedLength: (size_t)requestedLength { self = [super initWithClass: class]; _stream = [stream retain]; _requestedLength = requestedLength; #ifdef OF_HAVE_SOCKETS if ([class isSubclassOfClass: [OFStreamSocket class]]) _errNo = GET_SOCK_ERRNO; else #endif _errNo = GET_ERRNO; return self; } - (void)dealloc { |
︙ | ︙ |