update NSPR to 4.24 and keep NSPR Bug 1586070 and win64 patch intact.

This commit is contained in:
Roy Tam 2020-01-03 13:34:04 +08:00
commit 0b9855b841
487 changed files with 42933 additions and 48679 deletions

View file

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* Program to test different ways to get file info; right now it
* Program to test different ways to get file info; right now it
* only works for solaris and OS/2.
*
*/
@ -35,9 +35,9 @@ static void statPRStat(void)
{
PRFileInfo finfo;
PRInt32 index = count;
for (;index--;) {
PR_GetFileInfo(filename, &finfo);
for (; index--;) {
PR_GetFileInfo(filename, &finfo);
}
}
@ -45,8 +45,8 @@ static void statStat(void)
{
struct stat finfo;
PRInt32 index = count;
for (;index--;) {
for (; index--;) {
stat(filename, &finfo);
}
}
@ -75,9 +75,9 @@ int main(int argc, char **argv)
PR_STDIO_INIT();
if (argc > 1) {
count = atoi(argv[1]);
count = atoi(argv[1]);
} else {
count = DEFAULT_COUNT;
count = DEFAULT_COUNT;
}
Measure(statPRStat, "time to call PR_GetFileInfo()");