diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-03-10 03:02:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-03-10 03:02:28 +0000 |
commit | 9676910fadb6405f5678f83e7e24f8364ca2d684 (patch) | |
tree | 80cf34ed325b0274e7406d4dc88be7ed28135db8 /compat_reallocarray.c | |
parent | b8c2a568de5de383bd9b2bceb98150f972690eea (diff) | |
download | mandoc-9676910fadb6405f5678f83e7e24f8364ca2d684.tar.gz |
Fix a regression caused in rev. 1.212, reported by kristaps@:
When using a pager and the first manual shown is gzip'ed,
the gunzip(1) process ended up as a child of the pager process
such that the man(1) process couldn't wait for it, preventing
proper display of the manual.
Solve this by making the pager a child of the man(1) process
(instead of the other way round), which requires being a bit
more careful about properly closing file descriptors after use
and waiting for the pager before exiting man(1).
Diffstat (limited to 'compat_reallocarray.c')
0 files changed, 0 insertions, 0 deletions