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 | c9da7277be6433d888dc42e3e44c10f4546433e8 (patch) | |
tree | 4e58e5d861c3a0868ebcfaf62c5e7bdc0ad6d7dd /compat_reallocarray.c | |
parent | fcac2cce4ac08b4bcb661ed0e4dd17b3d5080280 (diff) | |
download | mandoc-c9da7277be6433d888dc42e3e44c10f4546433e8.tar.gz mandoc-c9da7277be6433d888dc42e3e44c10f4546433e8.tar.zst mandoc-c9da7277be6433d888dc42e3e44c10f4546433e8.zip |
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