Bug 516396: Update NSPR to the NSPR_4_8_2_RTM CVS tag. Back out the

incorrect input length check in PR_strtod.
This commit is contained in:
Wan-Teh Chang 2009-10-05 16:20:41 -07:00
parent 0b451e51ec
commit 985437c460
7 changed files with 14 additions and 21 deletions

View File

@ -64,10 +64,10 @@
#
# ------------------------------------------------------------------
FROMTOP=/share/builds/components/nspr20/v4.8.1
TOTOP=./v4.8.1
NSPRDIR=nspr-4.8.1
SOURCETAG=NSPR_4_8_1_RTM
FROMTOP=/share/builds/components/nspr20/v4.8.2
TOTOP=./v4.8.2
NSPRDIR=nspr-4.8.2
SOURCETAG=NSPR_4_8_2_RTM
#
# enumerate Unix object directories on /s/b/c

View File

@ -42,4 +42,3 @@
*/
#error "Do not include this header file."

2
nsprpub/configure vendored
View File

@ -695,7 +695,7 @@ test "$host_alias" != "$target_alias" &&
MOD_MAJOR_VERSION=4
MOD_MINOR_VERSION=8
MOD_PATCH_VERSION=1
MOD_PATCH_VERSION=2
NSPR_MODNAME=nspr20
_HAVE_PTHREADS=
USE_PTHREADS=

View File

@ -50,7 +50,7 @@ dnl = Defaults
dnl ========================================================
MOD_MAJOR_VERSION=4
MOD_MINOR_VERSION=8
MOD_PATCH_VERSION=1
MOD_PATCH_VERSION=2
NSPR_MODNAME=nspr20
_HAVE_PTHREADS=
USE_PTHREADS=

View File

@ -63,10 +63,10 @@ PR_BEGIN_EXTERN_C
** The format of the version string is
** "<major version>.<minor version>[.<patch level>] [<Beta>]"
*/
#define PR_VERSION "4.8.1"
#define PR_VERSION "4.8.2"
#define PR_VMAJOR 4
#define PR_VMINOR 8
#define PR_VPATCH 1
#define PR_VPATCH 2
#define PR_BETA PR_FALSE
/*

View File

@ -1640,13 +1640,6 @@ PR_strtod
if (!_pr_initialized) _PR_ImplicitInitialization();
for(s = s00, i = 0; *s && i < 64 * 1024; s++, i++)
;
if (*s) {
PR_SetError(PR_INVALID_ARGUMENT_ERROR, 0);
return 0.0;
}
sign = nz0 = nz = 0;
dval(rv) = 0.;
for(s = s00;;s++) switch(*s) {

View File

@ -52,10 +52,10 @@
#include <stdlib.h>
/*
* This release (4.8.1) is backward compatible with the
* This release (4.8.2) is backward compatible with the
* 4.0.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x, 4.6.x, 4.7.x,
* and 4.8 releases. It, of course, is compatible with
* itself.
* 4.8, and 4.8.1 releases. It, of course, is compatible
* with itself.
*/
static char *compatible_version[] = {
"4.0", "4.0.1", "4.1", "4.1.1", "4.1.2", "4.1.3",
@ -63,8 +63,9 @@ static char *compatible_version[] = {
"4.5", "4.5.1",
"4.6", "4.6.1", "4.6.2", "4.6.3", "4.6.4", "4.6.5",
"4.6.6", "4.6.7", "4.6.8",
"4.7", "4.7.1", "4.7.2", "4.7.3", "4.7.4",
"4.8", PR_VERSION
"4.7", "4.7.1", "4.7.2", "4.7.3", "4.7.4", "4.7.5",
"4.7.6",
"4.8", "4.8.1", PR_VERSION
};
/*