Closed
Bug 194222
Opened 22 years ago
Closed 22 years ago
Use the new NSPR 4.3 function PR_CallOnceWithArg
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.8
People
(Reporter: wtc, Assigned: wtc)
Details
Attachments
(2 files)
4.39 KB,
patch
|
bugz
:
review+
|
Details | Diff | Splinter Review |
3.13 KB,
patch
|
Details | Diff | Splinter Review |
NSPR 4.3 has a new function PR_CallOnceWithArg that allows you to pass an argument to the call-once function. The SECMOD_CallOnce function that we added in NSS 3.7 as part of the fix for bug 183612 should be replaced by PR_CallOnceWithArg. I also found that there is an implementation of "call once with arg" in lib/base/tracker.c that can be replaced by this new NSPR 4.3 function.
Comment 1•22 years ago
|
||
tracker.c should be ignored. It's not being used, it won't be used in stan, and has already been removed from the stan working branch.
Assignee | ||
Comment 2•22 years ago
|
||
Assignee | ||
Comment 3•22 years ago
|
||
I already made the changes to tracker.c before I saw Ian's comment. Here is the patch, for reference only.
Assignee | ||
Updated•22 years ago
|
Attachment #115010 -
Flags: review?(ian.mcgreer)
Updated•22 years ago
|
Attachment #115010 -
Flags: review?(ian.mcgreer) → review+
Assignee | ||
Comment 4•22 years ago
|
||
Patch checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 3.8
You need to log in
before you can comment on or make changes to this bug.
Description
•