mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
update NSPR to 4.24 and keep NSPR Bug 1586070 and win64 patch intact.
This commit is contained in:
parent
dd094ae552
commit
0b9855b841
487 changed files with 42933 additions and 48679 deletions
|
|
@ -29,20 +29,20 @@ int main(int argc, char **argv)
|
|||
{
|
||||
PR_STDIO_INIT();
|
||||
|
||||
t1 = PR_Open(argv[0], PR_RDONLY, 0666);
|
||||
t1 = PR_Open(argv[0], PR_RDONLY, 0666);
|
||||
|
||||
if (t1 == NULL) {
|
||||
printf ("error code is %d \n", PR_GetError());
|
||||
printf ("File %s should be found\n", argv[0]);
|
||||
return 1;
|
||||
} else {
|
||||
if (PR_Close(t1) == PR_SUCCESS) {
|
||||
printf ("Test passed \n");
|
||||
return 0;
|
||||
} else {
|
||||
printf ("cannot close file\n");
|
||||
printf ("error code is %d\n", PR_GetError());
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (t1 == NULL) {
|
||||
printf ("error code is %d \n", PR_GetError());
|
||||
printf ("File %s should be found\n", argv[0]);
|
||||
return 1;
|
||||
} else {
|
||||
if (PR_Close(t1) == PR_SUCCESS) {
|
||||
printf ("Test passed \n");
|
||||
return 0;
|
||||
} else {
|
||||
printf ("cannot close file\n");
|
||||
printf ("error code is %d\n", PR_GetError());
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue