mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 15:13:53 +08:00
d11086a939
On platforms where long double may have the same format as double (-mlong-double-64), error and error_at_line do not take that into account and might produce wrong output if a long double conversion is requested by the format string ('%Lf'). This patch adds compatibility functions for this situation and redirects calls via header magic. Tested for powerpc, powerpc64 and powerpc64le.
2 lines
34 B
C
2 lines
34 B
C
#include <misc/bits/error-ldbl.h>
|