mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 01: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
|
|
@ -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()");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue