about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2018-03-07 14:32:00 -0500
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-12-05 18:15:42 -0200
commitd91798b31ac79914c234c4da7f7e7396bde2d85c (patch)
treeaa961c96c18a5951c556def7f8654d640b31a1f6 /ChangeLog
parentb87eb3f8feb826ac48463f598fc10476055bee5a (diff)
downloadglibc-d91798b31ac79914c234c4da7f7e7396bde2d85c.tar.gz
glibc-d91798b31ac79914c234c4da7f7e7396bde2d85c.tar.xz
glibc-d91798b31ac79914c234c4da7f7e7396bde2d85c.zip
Use SCANF_LDBL_IS_DBL instead of __ldbl_is_dbl.
Change the callers of __vfscanf_internal and __vfwscanf_internal that
want to treat 'long double' as another name for 'double' (all of which
happen to be in sysdeps/ieee754/ldbl-opt/nldbl-compat.c) to communicate
this via the new flags argument, instead of the per-thread variable
__no_long_double and its __ldbl_is_dbl wrapper macro.

Tested for powerpc and powerpc64le.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d8cbbcc623..9ad1f41068 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,29 @@
 2018-12-05  Zack Weinberg  <zackw@panix.com>
 	    Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
 
+	* stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
+	* sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
+	Include libio/strfile.h instead of libioP.h.
+	(__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
+	(__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
+	(__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
+	(__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
+	(__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
+	directly, passing SCANF_LDBL_IS_DBL.  Set up a strfile if
+	necessary.  Do not set __no_long_double.  Normalize variable names.
+	(__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
+	(__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
+	(__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
+	(__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
+	(__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
+	(__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
+	Call __vfscanf_internal / __vfwscanf_internal directly, passing
+	SCANF_LDBL_IS_DBL | SCANF_ISOC99_A.  Set up a strfile if necessary.
+	Do not set __no_long_double.  Normalize variable names.
+
+2018-12-05  Zack Weinberg  <zackw@panix.com>
+	    Gabriel F. T. Gomes  <gabriel@inconstante.eti.br>
+
 	* stdio-common/isoc99_scanf.c
 	* stdio-common/isoc99_fscanf.c
 	* stdio-common/isoc99_sscanf.c