Differences From Artifact [563c34066f]:
- File
src/OFStream.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 31537) [annotate] [blame] [check-ins using]
To Artifact [c3c3a5a8ae]:
- File src/OFStream.m — part of check-in [74bcc11aac] at 2017-05-28 17:45:58 on branch trunk — Do not set SIGPIPE handler on MorphOS + libnix (user: js, size: 31645) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
27 28 29 30 31 32 33 | #ifdef HAVE_FCNTL_H # include <fcntl.h> #endif #include "platform.h" | | | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #ifdef HAVE_FCNTL_H # include <fcntl.h> #endif #include "platform.h" #if !defined(OF_WINDOWS) && (!defined(OF_MORPHOS) || defined(OF_IXEMUL)) # include <signal.h> #endif #import "OFStream.h" #import "OFStream+Private.h" #import "OFString.h" #import "OFDataArray.h" |
︙ | ︙ | |||
52 53 54 55 56 57 58 | #import "of_asprintf.h" #define MIN_READ_SIZE 512 @implementation OFStream @synthesize of_waitingForDelimiter = _waitingForDelimiter; | | | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | #import "of_asprintf.h" #define MIN_READ_SIZE 512 @implementation OFStream @synthesize of_waitingForDelimiter = _waitingForDelimiter; #if !defined(OF_WINDOWS) && (!defined(OF_MORPHOS) || defined(OF_IXEMUL)) + (void)initialize { if (self == [OFStream class]) signal(SIGPIPE, SIG_IGN); } #endif |
︙ | ︙ |