From 6239b2a907c8efee7278d2a51b92acd073b26919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 9 Apr 2023 18:37:04 +0200 Subject: [PATCH] libroot/glibc: apply upstream fix for printf_fphex: Fix up long double fphex. https://github.com/bminor/glibc/commit/a53b7a4e4b39d90f5964841c63492cf233aa17b8 fix #18353 --- src/system/libroot/posix/glibc/stdio-common/printf_fphex.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system/libroot/posix/glibc/stdio-common/printf_fphex.c b/src/system/libroot/posix/glibc/stdio-common/printf_fphex.c index e38f6510c4..8e977d743e 100644 --- a/src/system/libroot/posix/glibc/stdio-common/printf_fphex.c +++ b/src/system/libroot/posix/glibc/stdio-common/printf_fphex.c @@ -138,6 +138,7 @@ do { \ \ /* We use a full nibble for the leading digit. */ \ leading = *numstr++; \ + wnumstr++; \ \ /* We have 3 bits from the mantissa in the leading nibble. \ Therefore we are here using `IEEE854_LONG_DOUBLE_BIAS + 3'. */ \