Closed Bug 68260 Opened 25 years ago Closed 25 years ago

Charset converters print loads of debugging information during registration

Categories

(Core :: Internationalization, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.8

People

(Reporter: bryner, Assigned: bryner)

Details

Attachments

(1 file)

I count about 150 lines of debugging output that are printed every time the uconv modules are registered, even on non-debug builds. I've got a patch to only show the output #ifdef DEBUG (although I question how useful this is to anyone outside the intl team, even in debug builds).
Attached patch patchSplinter Review
Reassign to yokoyama, cc to ftang.
Assignee: nhotta → yokoyama
Brian: Thanks for the patch. Patch looks good. /r=yokoyama You can remove the printf() unless ftang has objections. Should I assign this to you, Brian?
Target Milestone: --- → mozilla0.8
ftang? any thoughts on this?
either way
ftang: can you give /sr=?
There should not be a semicolon (;) after the printf statement. Also, in the non-DEBUG case, the macro should not be defined as {}, since that would fail when you use the macro in an if statement. For example: if (...) REGSELF_PRINTF(...); else ... Just leave the macro empty for non-DEBUG. sr=erik
assigning to bryner@netscape.com
Assignee: yokoyama → bryner
checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Roy, please verify this.
QA Contact: teruko → yokoyama
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: