From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Bustamante Subject: Re: Bug? "fstat64(f, &sb) < 0 && S_ISREG(sb.st_mode)" Date: Wed, 26 Oct 2016 19:35:22 -0500 Message-ID: References: <20161026214309.GA78242@stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-oi0-f44.google.com ([209.85.218.44]:33538 "EHLO mail-oi0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932388AbcJ0Agl (ORCPT ); Wed, 26 Oct 2016 20:36:41 -0400 Received: by mail-oi0-f44.google.com with SMTP id y2so21946372oie.0 for ; Wed, 26 Oct 2016 17:35:43 -0700 (PDT) In-Reply-To: <20161026214309.GA78242@stack.nl> Sender: dash-owner@vger.kernel.org List-Id: dash@vger.kernel.org To: Jilles Tjoelker Cc: Denys Vlasenko , Herbert Xu , dash@vger.kernel.org >> 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.