Closed Bug 75764 Opened 25 years ago Closed 25 years ago

nsNativeComponentLoader::AutoRegisterComponent contains non-static array

Categories

(Core :: XPCOM, defect)

x86
Windows NT
defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: dbradley, Assigned: kandrot)

Details

Attachments

(1 file)

nsNativeComponentLoader::AutoRegisterComponent contains a non-static array of strings that should be static as it is read-only. I've attached a patch (Assuming I do it correctly) that contains the update also made the pointers themselves constant.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: patch
sr=jband. Ooh, const pointers *and* pointees. Looks good to me.
shaver: wanna batch this in with your other xpcom/components changes? kandrot: You're expected to at least take notice and acknowledge contributor patches within a reasonable amount of time. Even if you don't want to be bothered with actually doing anything, you have to at least *say* so.
Status: NEW → ASSIGNED
I have added this to the patch to make a static build (a whole lot of "static" being added to remove unneeded global refs). Will be checked in this week (probably tonight). Thank you for the patch.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: