mail(1): Bring some fixes from other BSDs.
commitc93e4010d499c7639da62c78af476c9d183698eb
authorpfg <pfg@FreeBSD.org>
Thu, 14 Jul 2016 02:25:29 +0000 (14 02:25 +0000)
committerpfg <pfg@FreeBSD.org>
Thu, 14 Jul 2016 02:25:29 +0000 (14 02:25 +0000)
tree32fc607f77db598c971be1cd9baa325a807c564d
parent6e0e2c2a671077c423418a9c860d4fcdad70a17e
mail(1): Bring some fixes from other BSDs.

Fix missing forked job changes from r302776 in wait_child().

Obtained from: NetBSD
usr.bin/mail/popen.c