* mdocml-1.13.4 regression: mandoc -a with pipes
@ 2016-07-22 20:10 Christian Neukirchen
2016-09-05 13:27 ` Christian Neukirchen
0 siblings, 1 reply; 2+ messages in thread
From: Christian Neukirchen @ 2016-07-22 20:10 UTC (permalink / raw)
To: tech
Hi,
I noticed a regression in the last mdocml release:
The use of mandoc -a is broken when input comes from a pipe.
$ cat /usr/share/man/man1/mandoc.1 | mandoc -a
[1] + Stopped (signal) cat /usr/share/man/man1/mandoc.1 | mandoc -a
mandoc gets suspended with SIGSTOP, and foregrounding is not possible.
Found on Void Linux, Linux 4.6.4, glibc 2.23, mdocml 1.13.4.
cu,
--
Christian Neukirchen <chneukirchen@gmail.com> http://chneukirchen.org
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mdocml-1.13.4 regression: mandoc -a with pipes
2016-07-22 20:10 mdocml-1.13.4 regression: mandoc -a with pipes Christian Neukirchen
@ 2016-09-05 13:27 ` Christian Neukirchen
0 siblings, 0 replies; 2+ messages in thread
From: Christian Neukirchen @ 2016-09-05 13:27 UTC (permalink / raw)
To: tech
Christian Neukirchen <chneukirchen@gmail.com> writes:
> Hi,
>
> I noticed a regression in the last mdocml release:
> The use of mandoc -a is broken when input comes from a pipe.
>
> $ cat /usr/share/man/man1/mandoc.1 | mandoc -a
> [1] + Stopped (signal) cat /usr/share/man/man1/mandoc.1 | mandoc -a
>
> mandoc gets suspended with SIGSTOP, and foregrounding is not possible.
>
> Found on Void Linux, Linux 4.6.4, glibc 2.23, mdocml 1.13.4.
I bisected this to
Author: schwarze <schwarze>
Date: Fri Nov 20 21:59:54 2015 +0000
Fix multiple issues regarding process group and signal mask handling
found by tb@ and millert@; parts of the code, in particular in tag.c,
by millert@; OK millert@.
Interestingly, it doesn't break when I use musl libc.
I don't really understand what the code does, so help would be appreciated.
Thanks,
--
Christian Neukirchen <chneukirchen@gmail.com> http://chneukirchen.org
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-05 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-22 20:10 mdocml-1.13.4 regression: mandoc -a with pipes Christian Neukirchen
2016-09-05 13:27 ` Christian Neukirchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).