glibc/sysdeps/unix/sysv/linux/syslog.c
Ulrich Drepper 790aa1f272 Update.
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.
2005-01-24 22:57:26 +00:00

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>