FreeBSD Bugzilla – Attachment 59812 Details for
Bug 89946
[patch] PR_GetPhysicalMemorySize not implemented in devel/nspr resulting in poor performance in Firefox
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 516 bytes, created by
Juha-Matti Tilli
on 2005-12-04 21:40:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Juha-Matti Tilli
Created:
2005-12-04 21:40:02 UTC
Size:
516 bytes
patch
obsolete
>--- mozilla/nsprpub/pr/src/misc/prsystem.c.orig Fri May 6 23:35:58 2005 >+++ mozilla/nsprpub/pr/src/misc/prsystem.c Sun Dec 4 23:34:19 2005 >@@ -352,6 +352,15 @@ > odm_terminate(); > } > >+#elif defined(__FreeBSD__) >+ >+ int name[] = {CTL_HW, HW_PHYSMEM}; >+ unsigned long old; >+ size_t oldlen = sizeof(old); >+ if(sysctl(&name, sizeof(name)/sizeof(*name), &old, &oldlen, NULL, 0) == 0 >+ && oldlen == sizeof(old)) >+ bytes = old; >+ > #else > > PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 89946
: 59812