mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 06:40:09 +00:00
590ef889bc
Similarly to the functions from the *printf family, this patch adds implementations for __obstack_*printf* functions that set the 'mode_flags' parameter to PRINTF_LDBL_USES_FLOAT128, before making calls to __vfprintf_internal (indirectly through __obstack_vprintf_internal). Tested for powerpc64le. Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
7 lines
278 B
C
7 lines
278 B
C
#define _FORTIFY_SOURCE 2
|
|
#define OBSTACK_FUNCTION __obstack_printf_chk
|
|
#define OBSTACK_FUNCTION_PARAMS (&ob, 1, "%.30Lf", ld)
|
|
#define VOBSTACK_FUNCTION __obstack_vprintf_chk
|
|
#define VOBSTACK_FUNCTION_PARAMS (&ob, 1, "%.30Lf", ap)
|
|
#include <test-obstack-ldbl-compat-template.c>
|