Closed
Bug 416813
Opened 16 years ago
Closed 16 years ago
jslock.c does not link on VC7.1 due to use of _InterlockedCompareExchange
Categories
(Core :: JavaScript Engine, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.9beta4
People
(Reporter: longsonr, Assigned: brendan)
References
Details
Attachments
(1 file, 1 obsolete file)
801 bytes,
patch
|
brendan
:
review+
brendan
:
approval1.9+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•16 years ago
|
||
Attachment #302587 -
Flags: review?(brendan)
Reporter | ||
Comment 2•16 years ago
|
||
solution based on http://msdn2.microsoft.com/en-us/library/f24ya7ct(VS.71).aspx
Assignee | ||
Comment 3•16 years ago
|
||
Comment on attachment 302587 [details] [diff] [review] patch This is one of those "if it works, it doesn't need review." I can rubber-stamp for sure. Only nit-picks: avoid doubled space, use prevailing style for formatting and parameter names: extern long __cdecl _InterlockedCompareExchange(long *volatile dest, long exchange, long comp); /be
Attachment #302587 -
Flags: review?(brendan)
Attachment #302587 -
Flags: review+
Attachment #302587 -
Flags: approval1.9+
Assignee | ||
Comment 4•16 years ago
|
||
I'm assuming the extern doesn't hurt -- please holler if MSVC disagrees. /be
Attachment #302587 -
Attachment is obsolete: true
Attachment #302867 -
Flags: review+
Attachment #302867 -
Flags: approval1.9+
Assignee | ||
Updated•16 years ago
|
Assignee: general → brendan
Priority: -- → P2
Target Milestone: --- → mozilla1.9beta4
Assignee | ||
Comment 5•16 years ago
|
||
Robert, could you please test the revised patch? I'm pretty sure it will work but hate to go in untested. Thanks, /be
Status: NEW → ASSIGNED
Reporter | ||
Comment 6•16 years ago
|
||
The patch works fine for me. I'll have to leave it to you to to check in; I just discovered I don't have check in privileges for the Javascript partition.
Flags: in-testsuite-
Assignee | ||
Comment 7•16 years ago
|
||
Fixed on trunk: js/src/jslock.c 3.76 with credit to Robert -- thanks! /be
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•