aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-06-06 11:48:49 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2019-02-21 10:28:50 -0300
commitf43b8dd55588c32d12a461251e4f7598c5fed97f (patch)
treef4d0ba0396fc8740476256e709075302d7e60d4e /ChangeLog
parentdc0afac3252d0c53716ccaf0b424f7769a66d695 (diff)
downloadglibc-f43b8dd55588c32d12a461251e4f7598c5fed97f.tar
glibc-f43b8dd55588c32d12a461251e4f7598c5fed97f.tar.gz
glibc-f43b8dd55588c32d12a461251e4f7598c5fed97f.tar.bz2
glibc-f43b8dd55588c32d12a461251e4f7598c5fed97f.zip
Add internal implementations for argp.h, err.h, and error.h functions
Since the introduction of explicit flags in the internal implementation of the printf family of functions, the 'mode' parameter can be used to select which format long double parameters have (with the mode flag: PRINTF_LDBL_IS_DBL). This patch uses this feature in the implementation of some functions in argp.h, err.h, and error.h (only those that take a format string and positional parameters). Future patches will add support for 'nldbl' and 'ieee128' versions of these functions. Tested for powerpc64le and x86_64.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 326201af9b..9b0bc78dbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
+
+ * argp/argp-help.c (__argp_error_internal): New function,
+ renamed from __argp_error, but that takes a 'mode_flags'
+ parameter to control the format of long double parameters.
+ (__argp_error): Converted into a call __argp_error_internal.
+ (__argp_failure_internal): New function, renamed from
+ __argp_failure, but that takes a 'mode_flags' parameter.
+ (__argp_failure): Converted into a call __argp_failure_internal.
+ * misc/err.c (__vwarnx_internal): New function, renamed from
+ vwarnx, but that takes a 'mode_flags' parameter.
+ (vwarnx): Converted into a call to __vwarnx_internal.
+ (__vwarn_internal): New function, renamed from vwarn, but that
+ takes a 'mode_flags' parameter.
+ (vwarn): Converted into a call to __vwarn_internal.
+ * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
+ call to __vfxprintf with 'mode_flags'.
+ (__error_internal): New function, renamed from error, but that
+ takes a 'mode_flags' parameter.
+ (error): Converted into a call to __error_internal.
+ (__error_at_line_internal): New function, renamed from
+ error_at_line, but that takes a 'mode_flags' parameter.
+ (error_at_line): Converted into a call to
+ __error_at_line_internal.
+ * include/stdio.h (__vfxprintf): Add mode_flags parameter.
+ * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
+ Likewise.
+
2019-02-20 Martin Liska <mliska@suse.cz>
* math/Makefile: Install math-vector-fortran.h.