Commit Graph

4 Commits

Author SHA1 Message Date
Ulrich Drepper 29c21e4900 * misc/bits/syslog.h: New file.
* misc/sys/syslog.h: Include <bits/syslog.h> for fortification.
	* misc/Makefile (headers): Add bits/syslog.h.
	* include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto.
	* sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk.
	Call __vfprintf_chk if necessary.  Make vsyslog a wrapper.  Add
	__syslog_chk.
	* misc/Versions: Export __syslog_chk and __vsyslog_chk.

	* nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper
	functions.
2005-07-30 06:00:43 +00:00
Roland McGrath 69553a9bd8 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
(dtv_t): Change pointer type to be a struct which also contains
	information whether the memory pointed to is static TLS or not.

	* sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.

	* shadow/sgetspent_r.c (FALSE): Macro renamed to ...
	(FALSEP): ... this.  Updated all references.

	* libio/fmemopen.c: Include <stdint.h>.
2005-02-02 19:44:07 +00:00
Roland McGrath 4bb51523b5 2005-01-25 Roland McGrath <roland@redhat.com>
* sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
2005-01-27 20:22:06 +00:00
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