From: Duncaen <Duncaen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: mpick: multi redir test hangs on Alpine
Date: Sat, 13 Mar 2021 22:08:32 +0100 [thread overview]
Message-ID: <20210313210832.D8l4NNbdobyMwPvrigZPnftTIUxJTea3y41heAgRHTM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-203@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
New comment by Duncaen on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/203#issuecomment-798785916
Comment:
This looks like a bug in musl, the second popen'ed process ends up inheriting the writing end of the first popen.
> The popen() function shall ensure that any streams from previous popen() calls that remain open in the parent process are closed in the new child process.
https://pubs.opengroup.org/onlinepubs/9699919799/
```
echo "Hello\nWorld" | busybox awk '{print $0 |"cat -n"; print $0 |"cat -n"}'
```
next prev parent reply other threads:[~2021-03-13 21:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-13 19:27 [ISSUE] " nmeum
2021-03-13 21:07 ` Duncaen
2021-03-13 21:08 ` Duncaen [this message]
2021-03-13 21:40 ` nmeum
2021-03-14 16:08 ` nmeum
2021-06-25 23:06 ` nmeum
2021-06-25 23:06 ` [ISSUE] [CLOSED] " nmeum
2021-06-25 23:06 ` nmeum
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=20210313210832.D8l4NNbdobyMwPvrigZPnftTIUxJTea3y41heAgRHTM@z \
--to=duncaen@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/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).