tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Christian Neukirchen <chneukirchen@gmail.com>
To: tech@mdocml.bsd.lv
Subject: Re: mdocml-1.13.4 regression: mandoc -a with pipes
Date: Mon, 05 Sep 2016 15:27:29 +0200	[thread overview]
Message-ID: <87d1kijx32.fsf@juno.home.vuxu.org> (raw)
In-Reply-To: <8737n1igd5.fsf@gmail.com> (Christian Neukirchen's message of "Fri, 22 Jul 2016 22:10:14 +0200")

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

      reply	other threads:[~2016-09-05 13:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-22 20:10 Christian Neukirchen
2016-09-05 13:27 ` Christian Neukirchen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1kijx32.fsf@juno.home.vuxu.org \
    --to=chneukirchen@gmail.com \
    --cc=tech@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).