Closed
Bug 68260
Opened 25 years ago
Closed 25 years ago
Charset converters print loads of debugging information during registration
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
mozilla0.8
People
(Reporter: bryner, Assigned: bryner)
Details
Attachments
(1 file)
1.50 KB,
patch
|
Details | Diff | Splinter Review |
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).
![]() |
Assignee | |
Comment 1•25 years ago
|
||
![]() |
||
Comment 3•25 years ago
|
||
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?
![]() |
||
Updated•25 years ago
|
Target Milestone: --- → mozilla0.8
![]() |
Assignee | |
Comment 4•25 years ago
|
||
ftang? any thoughts on this?
![]() |
||
Comment 5•25 years ago
|
||
either way
![]() |
||
Comment 6•25 years ago
|
||
ftang: can you give /sr=?
![]() |
||
Comment 7•25 years ago
|
||
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
![]() |
Assignee | |
Comment 9•25 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•