mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07: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
|
|
@ -39,7 +39,9 @@ int main(int argc, char **argv)
|
|||
prstderr,"tcp is usually 6, but is %d on this machine\n",
|
||||
proto.p_num);
|
||||
}
|
||||
else PR_fprintf(prstderr, "tcp is protocol number %d\n", proto.p_num);
|
||||
else {
|
||||
PR_fprintf(prstderr, "tcp is protocol number %d\n", proto.p_num);
|
||||
}
|
||||
|
||||
rv = PR_GetProtoByName("udp", buf, sizeof(buf), &proto);
|
||||
if (PR_FAILURE == rv) {
|
||||
|
|
@ -51,7 +53,9 @@ int main(int argc, char **argv)
|
|||
prstderr, "udp is usually 17, but is %d on this machine\n",
|
||||
proto.p_num);
|
||||
}
|
||||
else PR_fprintf(prstderr, "udp is protocol number %d\n", proto.p_num);
|
||||
else {
|
||||
PR_fprintf(prstderr, "udp is protocol number %d\n", proto.p_num);
|
||||
}
|
||||
|
||||
rv = PR_GetProtoByNumber(6, buf, sizeof(buf), &proto);
|
||||
if (PR_FAILURE == rv) {
|
||||
|
|
@ -63,7 +67,9 @@ int main(int argc, char **argv)
|
|||
prstderr, "Protocol number 6 is usually tcp, but is %s"
|
||||
" on this platform\n", proto.p_name);
|
||||
}
|
||||
else PR_fprintf(prstderr, "Protocol number 6 is %s\n", proto.p_name);
|
||||
else {
|
||||
PR_fprintf(prstderr, "Protocol number 6 is %s\n", proto.p_name);
|
||||
}
|
||||
|
||||
rv = PR_GetProtoByNumber(17, buf, sizeof(buf), &proto);
|
||||
if (PR_FAILURE == rv) {
|
||||
|
|
@ -75,7 +81,9 @@ int main(int argc, char **argv)
|
|||
prstderr, "Protocol number 17 is usually udp, but is %s"
|
||||
" on this platform\n", proto.p_name);
|
||||
}
|
||||
else PR_fprintf(prstderr, "Protocol number 17 is %s\n", proto.p_name);
|
||||
else {
|
||||
PR_fprintf(prstderr, "Protocol number 17 is %s\n", proto.p_name);
|
||||
}
|
||||
|
||||
PR_fprintf(prstderr, (failed) ? "FAILED\n" : "PASSED\n");
|
||||
return (failed) ? 1 : 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue