Differences From Artifact [f885e71d37]:
- File
src/OFStream.m
— part of check-in
[1404d33024]
at
2011-01-08 15:57:35
on branch trunk
— Ignore SIGPIPE when using OFStream.
SIGPIPE is quite useless and contraproductive as we throw an
OFWriteFailedException anyway. (user: js, size: 13954) [annotate] [blame] [check-ins using]
To Artifact [c884b52f6e]:
- File src/OFStream.m — part of check-in [c53575653d] at 2011-01-08 15:59:49 on branch trunk — Prefer -[release] over -[dealloc]. (user: js, size: 13944) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
37 38 39 40 41 42 43 | #import "asprintf.h" @implementation OFStream #ifndef _WIN32 + (void)initialize { | | < < | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | #import "asprintf.h" @implementation OFStream #ifndef _WIN32 + (void)initialize { if (self == [OFStream class]) signal(SIGPIPE, SIG_IGN); } #endif - init { if (isa == [OFStream class]) { Class c = isa; |
︙ | ︙ |