| Summary: | text misaligned in man:/usr/share/man/man5/proc.5.gz | ||
|---|---|---|---|
| Product: | [Unmaintained] kio | Reporter: | Greg Martyn <greg.martyn> |
| Component: | man | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nicolasg |
| Priority: | NOR | ||
| Version First Reported In: | 3.5 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Greg Martyn
2005-12-30 11:04:50 UTC
Additionally, "The tty the process uses" should be indented and on the next line. Same thing happens with the "0 %ld This value is hard coded to 0 as a placeholder for a removed field." line Good, the problem is that there are comment lines after the line having the .TP sequence. SVN commit 492712 by goutte:
HACK: skip comment line after the line having a .TP sequence
BUG:119223
M +7 -1 man2html.cpp
--- branches/KDE/3.5/kdebase/kioslave/man/man2html.cpp #492711:492712
@@ -3861,8 +3861,14 @@
/* somewhere a definition ends with '.TP' */
if (!*c)
still_dd=true;
- else
+ else
{
+ // HACK for proc(5)
+ while (c[0]=='.' && c[1]=='\\' && c[2]=='\"')
+ {
+ // We have a comment, so skip the line
+ c=skip_till_newline(c);
+ }
c=scan_troff(c,1,NULL);
out_html("<DD>");
}
|