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

@ -37,7 +37,7 @@ int main(int argc, char **argv)
LL_SHL(offset, offset, 32);
fd = PR_Open(TEST_FILE_NAME,
PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 0666);
PR_WRONLY | PR_CREATE_FILE | PR_TRUNCATE, 0666);
if (fd == NULL) {
fprintf(stderr, "PR_Open failed\n");
exit(1);
@ -63,7 +63,7 @@ int main(int argc, char **argv)
#ifdef _WIN32
hFile = CreateFile(TEST_FILE_NAME_FOR_CREATEFILE, GENERIC_READ, 0, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if (hFile == INVALID_HANDLE_VALUE) {
fprintf(stderr, "CreateFile failed\n");
exit(1);