Closed Bug 4312 Opened 25 years ago Closed 25 years ago

[PP]Conditionalize patching StackSpace() for MacOS versions

Categories

(NSPR :: NSPR, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: gordon, Assigned: gordon)

Details

Since GetTrapAddress, SetTrapAddress, and StackSpace will not always be present,
we need to do something like this:

  if gestalt (sysv) < 10
     open connection to "InterfaceLib"
     get symbol GetTrapAddress
     get symbol SetTrapAddress
     call GetTrapAddress with _StackSpace (A065)
     patch in new routine with SetTrapAddress
Status: NEW → ASSIGNED
Target Milestone: M4
Added Wan-Teh to cc list.
Changed target milestone to M6.
Summary: Conditionalize patching StackSpace() for MacOS versions → [PP]Conditionalize patching StackSpace() for MacOS versions
NSPR now has its own Bugzilla product.  Moving this bug to the NSPR product.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
this fix is not visible to qa. if you think this bug should be reopened,
please do so.

will mark as verified.
Status: RESOLVED → VERIFIED
Target Milestone: M6 → ---
fyi, this was fixed by the checkin on
1999-05-10 22:33:00 to the following files

revision 3.5 of mozilla/nsprpub/pr/src/md/mac/macthr.c
revision 3.6 of mozilla/nsprpub/pr/src/md/mac/mdmac.c

checkin comment -------

Fix for bug#4312.  Conditionalized patching of StackSpace so it's only done when
patching is allowed.  Also removed obsolete 68k code, and replaced uses of the
BUILD_ROUTINE_DESCRIPTOR macro with calls to NewRoutineDescriptor.

You need to log in before you can comment on or make changes to this bug.