2009-12-03 Craig Howland <howland@LGSInnovations.com>
* libc/stdlib/strtod.c:  Correct "NO_REENT" to "_REENT_ONLY".
        * libc/stdlib/wcstod.c:  Ditto.
        * libc/stdlib/dtoastub.c:  Ditto.
			
			
This commit is contained in:
		| @@ -1,3 +1,9 @@ | |||||||
|  | 2009-12-03  Craig Howland <howland@LGSInnovations.com> | ||||||
|  |  | ||||||
|  | 	* 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  <corinna@vinschen.de> | 2009-11-23  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	Use NetBSD fix for CVE-2009-0689 security vulnerability. | 	Use NetBSD fix for CVE-2009-0689 security vulnerability. | ||||||
|   | |||||||
| @@ -5,7 +5,7 @@ | |||||||
|  |  | ||||||
| /* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this  | /* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this  | ||||||
|    is a safe way of providing it to the user. */ |    is a safe way of providing it to the user. */ | ||||||
| #ifndef NO_REENT | #ifndef _REENT_ONLY | ||||||
|  |  | ||||||
| char * | char * | ||||||
| _DEFUN (__dtoa, | _DEFUN (__dtoa, | ||||||
|   | |||||||
| @@ -1164,7 +1164,7 @@ _DEFUN (_strtod_r, (ptr, s00, se), | |||||||
| 	return sign ? -dval(rv) : dval(rv); | 	return sign ? -dval(rv) : dval(rv); | ||||||
| } | } | ||||||
|  |  | ||||||
| #ifndef NO_REENT | #ifndef _REENT_ONLY | ||||||
|  |  | ||||||
| double | double | ||||||
| _DEFUN (strtod, (s00, se), | _DEFUN (strtod, (s00, se), | ||||||
|   | |||||||
| @@ -207,7 +207,7 @@ _DEFUN (_wcstof_r, (ptr, nptr, endptr), | |||||||
|   return (float)retval; |   return (float)retval; | ||||||
| } | } | ||||||
|  |  | ||||||
| #ifndef NO_REENT | #ifndef _REENT_ONLY | ||||||
|  |  | ||||||
| double | double | ||||||
| _DEFUN (wcstod, (nptr, endptr), | _DEFUN (wcstod, (nptr, endptr), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user