Closed Bug 61957 Opened 24 years ago Closed 24 years ago

[static ctor]static strings in nsMetaCharsetObserver.cpp

Categories

(Core :: Internationalization, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: dbaron)

References

Details

(Keywords: topembed+)

Attachments

(1 file)

There are two static nsAutoString objects used in nsMetaCharsetObserver.cpp. This is against the C++ portability guidelines http://www.mozilla.org/hacking/portable-cpp.html , shows up as a leak, prevents us from running on OpenBSD (bug ), and prevents us from doing module unloading (see bug 60709). A proposed fix is attached. It also fixes a build warning by adding a .get() to NS_ConvertUCS2toUTF8 (and removing the unneeded GetUnicode).
Attached patch proposed patch (deleted) — Splinter Review
Blocks: 60709
r=erik
sr=waterson
Fix checked in 2000-12-08 20:15 PST.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified.
Status: RESOLVED → VERIFIED
Keywords: topembed+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: