version 1.241, 2017/01/27 01:14:47 |
version 1.243, 2017/02/17 14:31:52 |
Line 162 static void putmdockey(const struct mpage *, |
|
Line 162 static void putmdockey(const struct mpage *, |
|
const struct roff_node *, uint64_t, int); |
const struct roff_node *, uint64_t, int); |
static int render_string(char **, size_t *); |
static int render_string(char **, size_t *); |
static void say(const char *, const char *, ...) |
static void say(const char *, const char *, ...) |
__attribute__((__format__ (printf, 2, 3))); |
__attribute__((__format__ (__printf__, 2, 3))); |
static int set_basedir(const char *, int); |
static int set_basedir(const char *, int); |
static int treescan(void); |
static int treescan(void); |
static size_t utf8(unsigned int, char [7]); |
static size_t utf8(unsigned int, char [7]); |
Line 1231 mpages_merge(struct dba *dba, struct mparse *mp) |
|
Line 1231 mpages_merge(struct dba *dba, struct mparse *mp) |
|
parse_mdoc(mpage, &man->meta, man->first); |
parse_mdoc(mpage, &man->meta, man->first); |
else |
else |
parse_man(mpage, &man->meta, man->first); |
parse_man(mpage, &man->meta, man->first); |
if (mpage->desc == NULL) |
if (mpage->desc == NULL) { |
mpage->desc = mandoc_strdup(mpage->mlinks->name); |
mpage->desc = mandoc_strdup(mlink->name); |
|
if (warnings) |
|
say(mlink->file, "No one-line description, " |
|
"using filename \"%s\"", mlink->name); |
|
} |
|
|
for (mlink = mpage->mlinks; |
for (mlink = mpage->mlinks; |
mlink != NULL; |
mlink != NULL; |
Line 1360 parse_cat(struct mpage *mpage, int fd) |
|
Line 1364 parse_cat(struct mpage *mpage, int fd) |
|
/* Skip to next word. */ ; |
/* Skip to next word. */ ; |
} else { |
} else { |
if (warnings) |
if (warnings) |
say(mlink->file, "No dash in title line"); |
say(mlink->file, "No dash in title line, " |
|
"reusing \"%s\" as one-line description", title); |
p = title; |
p = title; |
} |
} |
|
|