Closed
Bug 79733
Opened 24 years ago
Closed 24 years ago
pruthr.c using incorrect internal NSPR calls
Categories
(NSPR :: NSPR, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
4.2
People
(Reporter: mkaply, Assigned: larryh)
References
Details
Attachments
(1 file)
2.41 KB,
patch
|
Details | Diff | Splinter Review |
pruthr.c is using _MD_NEW_LOCK and _MD_FREE_LOCK when it
should be using _PR_MD_NEW_LOCK and _PR_MD_FREE_LOCK.
This prevents platforms from implementing these APIs as
functions - they have to implement them as #defines in a
header.
Diff attached.
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
We should fix this, but using the _MD_ calls does not
prevent you from implementing these APIs as functions.
You can take a look at _MD_GET_INTERVAL and _MD_CREATE_FILE_MAP
in mozilla/nsprpub/pr/include/md/_os2.h as examples.
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•24 years ago
|
||
I understand what you are saying but it does not link. I
get unresolved externals for the _MD_ calls without this
change. You can see our changes in 81666.
Blocks: 81666
Reporter | ||
Comment 4•24 years ago
|
||
I need to up the severity on this.
We have new semaphore code that we want to drop that improves OS/2 performance
big time.
It relies on this bug and 81666.
Severity: normal → major
Comment 5•24 years ago
|
||
I reviewed the attached patch. It is good.
Larry, could you please check in the patch on the trunk
and NSPRPUB_CLIENT_BRANCH of NSPR today?
Assignee: wtc → larryh
Status: ASSIGNED → NEW
Priority: -- → P1
Target Milestone: --- → 4.2
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•24 years ago
|
||
Checked in fix on the tip of tree.
Assignee | ||
Comment 7•24 years ago
|
||
parts reviewed by wtc, larryh.
Checked in on NSPRPUB_CLIENT_BRANCH.
Assignee | ||
Comment 8•24 years ago
|
||
marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•