mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
790aa1f272
2005-01-24 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c: Moved to... * sysdeps/generic/syslog.c: ...here. [NO_SIGIPE]: Don't install SIGPIPE handler. * sysdeps/unix/sysv/linux/syslog.c: New file. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_MSG_NOSIGNAL.
11 lines
181 B
C
11 lines
181 B
C
#include "kernel-features.h"
|
|
|
|
#if __ASSUME_MSG_NOSIGNAL
|
|
# define NO_SIGPIPE
|
|
# define send_flags MSG_NOSIGNAL
|
|
#else
|
|
# define send_flags 0
|
|
#endif
|
|
|
|
#include <sysdeps/generic/syslog.c>
|