mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 02:47:31 +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
|
|
@ -34,7 +34,9 @@ static PRStatus RunTest(const char *name, PRFuncPtr addr)
|
|||
return PR_FAILURE;
|
||||
}
|
||||
|
||||
if (debug_mode) printf("Pathname is %s\n", pathname);
|
||||
if (debug_mode) {
|
||||
printf("Pathname is %s\n", pathname);
|
||||
}
|
||||
fd = PR_OpenFile(pathname, PR_RDONLY, 0);
|
||||
if (fd == NULL) {
|
||||
fprintf(stderr, "PR_Open failed: %d\n", (int)PR_GetError());
|
||||
|
|
@ -74,7 +76,9 @@ int main(int argc, char **argv)
|
|||
|
||||
/* Next test a library that is dynamically loaded. */
|
||||
name = PR_GetLibraryName("dll", "my");
|
||||
if (debug_mode) printf("Loading library %s\n", name);
|
||||
if (debug_mode) {
|
||||
printf("Loading library %s\n", name);
|
||||
}
|
||||
lib = PR_LoadLibrary(name);
|
||||
if (!lib) {
|
||||
fprintf(stderr, "PR_LoadLibrary failed\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue