From df8d921e120e40f7f302292e0de438297bbcedf2 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 3 Dec 2009 16:11:27 +0000 Subject: 2009-12-03 Craig Howland * libc/stdlib/strtod.c: Correct "NO_REENT" to "_REENT_ONLY". * libc/stdlib/wcstod.c: Ditto. * libc/stdlib/dtoastub.c: Ditto. --- newlib/ChangeLog | 6 ++++++ newlib/libc/stdlib/dtoastub.c | 2 +- newlib/libc/stdlib/strtod.c | 2 +- newlib/libc/stdlib/wcstod.c | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index be8b357..10ffe9d 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2009-12-03 Craig Howland + + * libc/stdlib/strtod.c: Correct "NO_REENT" to "_REENT_ONLY". + * libc/stdlib/wcstod.c: Ditto. + * libc/stdlib/dtoastub.c: Ditto. + 2009-11-23 Corinna Vinschen Use NetBSD fix for CVE-2009-0689 security vulnerability. diff --git a/newlib/libc/stdlib/dtoastub.c b/newlib/libc/stdlib/dtoastub.c index ff2b087..f4929f2 100644 --- a/newlib/libc/stdlib/dtoastub.c +++ b/newlib/libc/stdlib/dtoastub.c @@ -5,7 +5,7 @@ /* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this is a safe way of providing it to the user. */ -#ifndef NO_REENT +#ifndef _REENT_ONLY char * _DEFUN (__dtoa, diff --git a/newlib/libc/stdlib/strtod.c b/newlib/libc/stdlib/strtod.c index 755e6ec..1f68bc7 100644 --- a/newlib/libc/stdlib/strtod.c +++ b/newlib/libc/stdlib/strtod.c @@ -1164,7 +1164,7 @@ _DEFUN (_strtod_r, (ptr, s00, se), return sign ? -dval(rv) : dval(rv); } -#ifndef NO_REENT +#ifndef _REENT_ONLY double _DEFUN (strtod, (s00, se), diff --git a/newlib/libc/stdlib/wcstod.c b/newlib/libc/stdlib/wcstod.c index 6b8be5e..d80454c 100644 --- a/newlib/libc/stdlib/wcstod.c +++ b/newlib/libc/stdlib/wcstod.c @@ -207,7 +207,7 @@ _DEFUN (_wcstof_r, (ptr, nptr, endptr), return (float)retval; } -#ifndef NO_REENT +#ifndef _REENT_ONLY double _DEFUN (wcstod, (nptr, endptr), -- cgit v1.1