Ticket #10396: 0011-glibc-Remove-a-that-was-accidentally-added.patch

File 0011-glibc-Remove-a-that-was-accidentally-added.patch, 890 bytes (added by js, 6 years ago)
  • src/system/libroot/posix/glibc/stdio-common/printf_fp.c

    From cef1be42dbdb9abda21f80262e8146a5228780f5 Mon Sep 17 00:00:00 2001
    From: Jonathan Schleifer <js@webkeks.org>
    Date: Sat, 11 Jan 2014 18:50:41 +0100
    Subject: [PATCH] glibc: Remove a ++ that was accidentally added.
    
    Thanks to PulkoMandy for noticing!
    ---
     src/system/libroot/posix/glibc/stdio-common/printf_fp.c | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/system/libroot/posix/glibc/stdio-common/printf_fp.c b/src/system/libroot/posix/glibc/stdio-common/printf_fp.c
    index d22c731..0abbed9 100644
    a b hack_digit_callee1:  
    924924    hack_digit_callee = 2;
    925925    goto hack_digit;
    926926hack_digit_callee2:
    927     *wcp++ = hack_digit_ret;
     927    *wcp = hack_digit_ret;
    928928    if (*wcp != L'0')
    929929      significant = 1;
    930930    else if (significant == 0)