Return to manpath.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.23, 2015/03/27 17:37:25 | version 1.24, 2015/04/28 16:13:45 | ||
---|---|---|---|
|
|
||
if ( ! ferror(stream) && feof(stream) && | if ( ! ferror(stream) && feof(stream) && | ||
bsz && '\n' == buf[bsz - 1]) { | bsz && '\n' == buf[bsz - 1]) { | ||
buf[bsz - 1] = '\0'; | buf[bsz - 1] = '\0'; | ||
manpath_parseline(dirs, buf, 1); | manpath_parseline(&conf->manpath, buf, 1); | ||
} | } | ||
free(buf); | free(buf); |