From: Eduardo Bustamante <dualbus@gmail.com>
To: Jilles Tjoelker <jilles@stack.nl>
Cc: Denys Vlasenko <vda.linux@googlemail.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
dash@vger.kernel.org
Subject: Re: Bug? "fstat64(f, &sb) < 0 && S_ISREG(sb.st_mode)"
Date: Wed, 26 Oct 2016 19:35:22 -0500 [thread overview]
Message-ID: <CAOSMAus_wZWxxsbmiGi2+edcc9rgH9LvToUH62Qr=ePq9SkNOw@mail.gmail.com> (raw)
In-Reply-To: <20161026214309.GA78242@stack.nl>
>> hp% dash -Cc 'rm ff; mkfifo ff; echo a > ff'
>> ^Cdash: 1: cannot create ff: Interrupted system call
>
>> It seems to be the same case for mksh, ksh93, posh, pdksh. Not that it
>> matters though.
>
> Blocking is intended behaviour when opening a fifo without a
> counterparty. It can be used to good effect for synchronizing processes,
> sometimes even without transferring any data.
Yup, sorry about the noise there. That was just a misunderstanding on my part.
prev parent reply other threads:[~2016-10-27 0:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-25 15:33 Bug? "fstat64(f, &sb) < 0 && S_ISREG(sb.st_mode)" Denys Vlasenko
2016-10-25 17:13 ` Eduardo Bustamante
2016-10-25 17:19 ` Eduardo Bustamante
2016-10-26 21:43 ` Jilles Tjoelker
2016-10-27 0:35 ` Eduardo Bustamante [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='CAOSMAus_wZWxxsbmiGi2+edcc9rgH9LvToUH62Qr=ePq9SkNOw@mail.gmail.com' \
--to=dualbus@gmail.com \
--cc=dash@vger.kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=jilles@stack.nl \
--cc=vda.linux@googlemail.com \
/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).