OSDN Git Service

syslog: use send(MSG_NOSIGNAL) instead of write, thus no need to handle SIGPIPE
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 13 Dec 2009 04:47:19 +0000 (05:47 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 13 Dec 2009 04:47:19 +0000 (05:47 +0100)
commit6732cb1ae137d7af17eb911004ba904badba1b85
tree6468ba5fd5642fbcd4e2b5bd5078fff96de07b63
parent1eac4f3880f10a4a9702939b60d322b40db08972
syslog: use send(MSG_NOSIGNAL) instead of write, thus no need to handle SIGPIPE

Size changes by this and previous change:

text           data     bss     dec     hex filename
1151             13       2    1166     48e libc/misc/syslog/syslog.o
1093             10       2    1105     451 libc/misc/syslog/syslog.o
1047             10       2    1059     423 libc/misc/syslog/syslog.o

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libc/misc/syslog/syslog.c