aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-strlcat.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-10 03:02:28 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-10 03:02:28 +0000
commitc9da7277be6433d888dc42e3e44c10f4546433e8 (patch)
tree4e58e5d861c3a0868ebcfaf62c5e7bdc0ad6d7dd /test-strlcat.c
parentfcac2cce4ac08b4bcb661ed0e4dd17b3d5080280 (diff)
downloadmandoc-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 'test-strlcat.c')
0 files changed, 0 insertions, 0 deletions