aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2018-03-07 14:32:02 -0500
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-12-05 18:15:43 -0200
commit124fc732c15ef37b7ee9db25b1e9f9b20c799623 (patch)
tree75f6e01ee571f6f1ae901b09669d89381945e881 /ChangeLog
parent698fb75b9ff5ae454a1344b5f9fafa0ca367c555 (diff)
downloadglibc-124fc732c15ef37b7ee9db25b1e9f9b20c799623.tar.xz
glibc-124fc732c15ef37b7ee9db25b1e9f9b20c799623.zip
Add __vsyslog_internal, with same flags as __v*printf_internal.
__nldbl___vsyslog_chk will ultimately want to pass PRINTF_LDBL_IS_DBL down to __vfprintf_internal *as well as* possibly setting PRINTF_FORTIFY. To make that possible, we need a __vsyslog_internal that takes the same flags as printf. The code in misc/syslog.c does also get a little simpler. Tested for powerpc and powerpc64le.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e96f3c60fe..e3bba2ab5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,26 @@
2018-12-05 Zack Weinberg <zackw@panix.com>
Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
+ * misc/syslog.c: Include libioP.h, not iolibio.h.
+ (__vsyslog_internal): New function with the former body of
+ __vsyslog_chk; takes mode_flags argument same as
+ __v*printf_internal. Call __vfprintf_internal directly.
+
+ (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
+ Remove libc_hidden_def.
+ (__syslog, __syslog_chk): Use __vsyslog_internal.
+ (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
+
+ * include/sys/syslog.h: Add multiple inclusion guard.
+ Add prototype for __vsyslog_internal.
+ Remove declaration and libc_hidden_proto for __vsyslog_chk.
+
+ * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
+ Use __vsyslog_internal.
+
+2018-12-05 Zack Weinberg <zackw@panix.com>
+ Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
+
* libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
(__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
(__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):