diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-09-06 23:45:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-09-06 23:45:24 +0000 |
commit | 6796bc807aa3808f6afb5da42932e437bdd183cf (patch) | |
tree | f0610b5aebf183e95afb9f70c30d77ea82f9ef9e /stdlib/strtod.c | |
parent | baa3334acc20834b32be1abf96f5942367c31a06 (diff) | |
download | glibc-6796bc807aa3808f6afb5da42932e437bdd183cf.tar.gz glibc-6796bc807aa3808f6afb5da42932e437bdd183cf.tar.xz glibc-6796bc807aa3808f6afb5da42932e437bdd183cf.zip |
Update.
1998-09-06 09:53 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> * Makeconfig (+gccwarn): Remove -Wno-parentheses. * elf/dl-open.c: Quiet -Wparentheses warnings. * iconvdata/johab.c: Likewise. * iconvdata/uhc.c: Likewise. * inet/inet_net.c: Likewise. * io/fts.c: Likewise. * locale/newlocale.c: Likewise. * misc/getttyent.c: Likewise. * misc/mntent_r.c: Likewise. * misc/ttyslot.c: Likewise. * nscd/nscd_conf.c: Likewise. * nss/nsswitch.c: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/nsap_addr.c: Likewise. * resolv/res_debug.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdlib/strtod.c: Likewise. * string/strverscmp.c: Likewise. * sunrpc/svc.c: Likewise. * sysdeps/libm-ieee754/e_cosh.c: Likewise. * sysdeps/libm-ieee754/e_gamma_r.c: Likewise. * sysdeps/libm-ieee754/e_sinh.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * include/dlfcn.h: Likewise. * elf/dlfcn.h: Declare dladdr only for __USE_GNU. Define RTLD_DEFAULT.
Diffstat (limited to 'stdlib/strtod.c')
-rw-r--r-- | stdlib/strtod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c index 154e2049d9..5b15859066 100644 --- a/stdlib/strtod.c +++ b/stdlib/strtod.c @@ -664,7 +664,7 @@ INTERNAL (STRTOF) (nptr, endptr, group LOCALE_PARAM) if ((wchar_t) c == decimal) { c = *++cp; - while (c >= L_('0') && c <= L_('9') || + while ((c >= L_('0') && c <= L_('9')) || (base == 16 && TOLOWER (c) >= L_('a') && TOLOWER (c) <= L_('f'))) { if (c != L_('0') && lead_zero == -1) |