git: libc/locale: Fix leading space issue in wcstof().

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sat Dec 30 12:28:13 PST 2017


commit bc18712b47db31b43d8deca33b3540dc5f20d1fe
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Thu Dec 28 13:34:53 2017 +0200

    libc/locale: Fix leading space issue in wcstof().
    
    On failure correctly set endptr to report failure.
    It was reported by libc++ testsuite.
    
    Taken-from: FreeBSD

Summary of changes:
 lib/libc/locale/wcstod.c  | 15 +++++++++------
 lib/libc/locale/wcstof.c  | 22 ++++++++++++++++------
 lib/libc/locale/wcstold.c | 15 +++++++++------
 3 files changed, 34 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc18712b47db31b43d8deca33b3540dc5f20d1fe


-- 
DragonFly BSD source repository



More information about the Commits mailing list