Bug ID | 1234418 |
---|---|
Summary | libhubbub debugging output degrades elinks usability |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | screening-team-bugs@suse.de |
Reporter | post@jbechtel.de |
QA Contact | qa-bugs@suse.de |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
Created attachment 879109 [details] Elinks window for https://stackoverflow.com/questions/20994959/ The libhubbub debug prints make the use of some websites in elinks more difficult, see screenshot. More specifically, in treebuilder/treebuilder.c following code can be found which I suppose to be the reason for the outputs. Probably there's a macro NDEBUG missing in compilation: /* A slightly nasty debugging hook, but very useful */ #ifdef NDEBUG # define mode(x) \ case x: #else # define mode(x) \ case x: \ printf( #x "\n"); #endif while (err == HUBBUB_REPROCESS) { switch (treebuilder->context.mode) { mode(INITIAL) err = handle_initial(treebuilder, token); break; mode(BEFORE_HTML) err = handle_before_html(treebuilder, token); break; [...] mode(IN_BODY) err = handle_in_body(treebuilder, token); break; [...]