OSDN Git Service

man2html: Handle table format spec which consists of only '_'.
authorAkihiro MOTOKI <amotoki@gmail.com>
Wed, 19 Oct 2011 17:43:51 +0000 (02:43 +0900)
committerAkihiro MOTOKI <amotoki@gmail.com>
Wed, 19 Oct 2011 18:31:24 +0000 (03:31 +0900)
commitebd68a308dc8c37ae5cf074fd423849a616fd989
tree61ce0df70dc8dc03cb8b0da7232c49dc41fc898b
parent59ea237791f98bdef9931e1aa528accd302614d3
man2html: Handle table format spec which consists of only '_'.

Before this commit, a data line corresponding to the table
format specification which consists of only '_' is disappeared
during conversion by man2html. For example, in signal(7)
a first row next to the title disappears after HTML conversion.

This commit adds a function to check if a table format spec for
a current row has one or more data item and during scanning data
items scan_table() skips such a table format spec without data items.
admin/man-1.6g/man2html/man2html.c