diff options
author | Zack Weinberg <zackw@panix.com> | 2018-03-07 14:32:04 -0500 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2018-12-05 18:15:43 -0200 |
commit | 35caceb145ff23340edcd67dd813bfd95f1ff6e6 (patch) | |
tree | 209f3266d7952709b5eea69d932fabca8d254174 /stdio-common/vfprintf-internal.c | |
parent | 4e2f43f842ef5e253cc23383645adbaa03cedb86 (diff) | |
download | glibc-35caceb145ff23340edcd67dd813bfd95f1ff6e6.tar.gz glibc-35caceb145ff23340edcd67dd813bfd95f1ff6e6.tar.xz glibc-35caceb145ff23340edcd67dd813bfd95f1ff6e6.zip |
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/vfprintf-internal.c')
-rw-r--r-- | stdio-common/vfprintf-internal.c | 4 |
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; |