Closed Bug 72841 Opened 25 years ago Closed 25 years ago

Solaris Intel code should really be in separate files.

Categories

(Core :: XPConnect, defect, P3)

x86
Solaris
defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: rich.burridge, Assigned: rich.burridge)

Details

Attachments

(2 files)

[Note that this is for Solaris Intel platform only]. Comments from the Sun compiler group. Re: xptcinvoke_unixish_x86.cpp and xptcstubs_unixish_x86.cpp While I was looking at these to generate diffs of changes, I thought if it will be better to have separate files for Solaris x86, i.e. creating xptcinvoke_solaris_x86.cpp and xptcstubs_solaris_x86.cpp. That seems to be the rule for all other OS-processor combinations to which mozilla is ported. _unixish_x86 is a catchall for the set of all other x86 unices, with Solaris as the only member (currently). Isolating Solaris x86 code in separate files will shield it from possible future x86 ports, e.g. FreeBSD. ---- Opening a bug to adjust this after Mozilla 1.0.
Reassigning to shaver. We will supply a patch.
Assignee: jband → shaver
Priority: -- → P4
Target Milestone: --- → mozilla1.1
After chatting with shaver, have adjusted to target milestone 0.9.
Priority: P4 → P3
Target Milestone: mozilla1.1 → mozilla0.9
Diffs attached to separate the Solaris Intel code out into two separate files (removing the equivalent from ..._unixish_x86.cpp. The Makefile.in has been adjust to pick up the Solaris Intel files on that platform. shaver, this look okay to you? Thanks.
There's no reason the new files should be under the NPL, I don't think: can you have them use the MPL? Have you tested that both Solaris/x86 and Linux/x86 can run the xptcall tests with this patch?
Status: NEW → ASSIGNED
OK, I tested this and it works for me. Tests seem to pass, too.
shaver, hopefully we've fulfilled your two requests. Looking for an r= from you. Thanks.
+ * The Initial Developer of this code under the MPL is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1999 Netscape Communications Corporation. All Rights + * Reserved. Is Netscape really the Initial Developer? I would think it'd be Sun. If so, please fix that, and then sr=shaver (enough to check in).
Assignee: shaver → rich.burridge
Status: ASSIGNED → NEW
From looking at: http://lxr.mozilla.org/seamonkey/source/xpcom/reflect/xptcall/status.html it looks like John Bandhauer (jband@netscape.com), was the original author of the Linux x86 version, from which are code was derived. As per our conversation on IRC, I'll leave this the way it currently is. Thanks.
Fix checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Verified -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: