CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2017/02/03 10:55:37

Modified files:
        usr.bin/mandoc : read.c 

Log message:
If an application parses multiple files with mparse_readfd(3) but
without using mparse_open(3) to open the files, and if one of the
files includes a gzip'ed file with .so, then the gzip flag remains
set and the next main file will be expected to be gzip'ed.
Fix this by clearing the gzip flag in mparse_reset(3).

Bug found and patch provided by Michael <Stapelberg at debian dot org>.

Reply via email to