diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-16 11:00:15 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-16 11:00:15 +0000 |
commit | 432b34cd0473bdb7699163b12f57c0c9305a6674 (patch) | |
tree | 4f9b9560612eb573117f78c54b19b8dde5560175 /sysdeps | |
parent | 85422e00c704010b6d9d9154dc2bc22a990eae54 (diff) |
2005-01-24 Ulrich Drepper <drepper@redhat.com>
[BZ #671]
* 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.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/syslog.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/syslog.c b/sysdeps/unix/sysv/linux/syslog.c new file mode 100644 index 0000000000..eaaa9839dc --- /dev/null +++ b/sysdeps/unix/sysv/linux/syslog.c @@ -0,0 +1,10 @@ +#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> |