Module Name: src Committed By: martin Date: Thu Aug 22 19:40:51 UTC 2024
Modified Files: src/lib/libc/include [netbsd-9]: extern.h src/lib/libc/stdio [netbsd-9]: Makefile.inc vfwprintf.c src/tests/lib/libc/stdio [netbsd-9]: t_printf.c Log Message: Pull up following revision(s) (requested by riastradh in ticket #1865): lib/libc/stdio/Makefile.inc: revision 1.48 tests/lib/libc/stdio/t_printf.c: revision 1.9 lib/libc/stdio/vfwprintf.c: revision 1.40 lib/libc/include/extern.h: revision 1.27 tests/lib/libc/stdio/t_printf.c: revision 1.10 PR/57250: Martin Husemann: dtoa mishandles infinite doubles on 32bit big endian machines. When long double support was added, the old code was kept for the regular double code. This code was never used because WIDE_DOUBLE was always defined in the Makefile. Remove that old code, and conditionalize the WIDE_DOUBLE code based on if long doubles are different than doubles on the specific platform. Add a test for PR/57250 from Havard Eidnes Fix the test for "inf" output, also include newline in printf format... To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.25.16.1 src/lib/libc/include/extern.h cvs rdiff -u -r1.47 -r1.47.18.1 src/lib/libc/stdio/Makefile.inc cvs rdiff -u -r1.36 -r1.36.8.1 src/lib/libc/stdio/vfwprintf.c cvs rdiff -u -r1.8 -r1.8.34.1 src/tests/lib/libc/stdio/t_printf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.