diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-27 00:30:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-27 00:30:40 +0000 |
commit | 7278b90754787266ca3bd283adbba38091595487 (patch) | |
tree | 203a6377970942dba4e16235700aa564f066131c | |
parent | 2522d763b092433ecab5e1d79f2ff9cd8bba1466 (diff) | |
download | mandoc-7278b90754787266ca3bd283adbba38091595487.tar.gz |
fix build when HAVE_MANPATH is set; patch from <bapt at FreeBSD>
-rw-r--r-- | manpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ manpath_parse(struct manpaths *dirs, const char *file, if ( ! ferror(stream) && feof(stream) && bsz && '\n' == buf[bsz - 1]) { buf[bsz - 1] = '\0'; - manpath_parseline(dirs, buf); + manpath_parseline(dirs, buf, 1); } free(buf); |