summaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2018-03-07 14:32:04 -0500
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-12-05 18:15:43 -0200
commit35caceb145ff23340edcd67dd813bfd95f1ff6e6 (patch)
tree209f3266d7952709b5eea69d932fabca8d254174 /stdio-common
parent4e2f43f842ef5e253cc23383645adbaa03cedb86 (diff)
downloadglibc-35caceb145ff23340edcd67dd813bfd95f1ff6e6.tar.gz
Use PRINTF_LDBL_IS_DBL instead of __ldbl_is_dbl.
After all that prep work, nldbl-compat.c can now use PRINTF_LDBL_IS_DBL instead of __no_long_double to control the behavior of printf-like functions; this is the last thing we needed __no_long_double for, so it can go away entirely. Tested for powerpc and powerpc64le.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/vfprintf-internal.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/stdio-common/vfprintf-internal.c b/stdio-common/vfprintf-internal.c
index 4cc4261ead..61769e0ce1 100644
--- a/stdio-common/vfprintf-internal.c
+++ b/stdio-common/vfprintf-internal.c
@@ -1280,10 +1280,6 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap, unsigned int mode_flags)
0 if unknown. */
int readonly_format = 0;
- /* Temporarily honor environmental settings. */
- if (__ldbl_is_dbl)
- mode_flags |= PRINTF_LDBL_IS_DBL;
-
/* Orient the stream. */
#ifdef ORIENT
ORIENT;