Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14950

Re: write() not retried after EINTR in printf and echo

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Bize Ma <binaryzebra@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: write() not retried after EINTR in printf and echo
Date Tue, 25 Dec 2018 16:01:10 -0400
Lines 26
Approved bug-bash@gnu.org
Message-ID <mailman.6270.1545768091.1284.bug-bash@gnu.org> (permalink)
References <CAFra36hm9XcAgwqr7Yp_giX+kiSEp__x4Mc5Qn=eqgUdSdLA7Q@mail.gmail.com> <eefa8e88-104a-1fd3-b505-a279778ba291@case.edu> <CAFra36izjDTTFBsRfzsgCr8YGk+n=7O=FiMVX=ivuh5Ejw5MAQ@mail.gmail.com> <996dc3ea-0718-481b-3dc7-4fd358a3a64e@case.edu>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1545768091 2016 208.118.235.17 (25 Dec 2018 20:01:31 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash <bug-bash@gnu.org>
To Chester Ramey <chet.ramey@case.edu>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iWFjTn+GYkmf2Ajq8tyUZn3whmUvuxBZR9TEqrMugww=; b=NLKOQXDPB43o+AWFo5VfQM7HOy2Fe8+N2aHZy2ZY67MRYrN8cyvNDwlsxrG03co8mo 4caK2pXBMCHKp8rHO9/qFzvZFbKdcst/S4HvEwV3H/qAiX35668RbAlXa/Po9bZo3Xb5 zmoOvFk8BAlJtBPhp3kAQ8OAmRHxpN0gveu7dya6BKlZMCsM3Fxrk0MWf2gk/+E/qXu1 hJ9hA/JxdsJtxyH3BYrvt2RNWSIhxXAibAhqRWgTtZ71dFXKhLaOLys1KWvklphMWz9N JdGRn37LC8XqakQOnhmXkiXciuzNK0SH9EY+5hMb4284X3uz1QGK36urBhhm2w0MN5bs oRkw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iWFjTn+GYkmf2Ajq8tyUZn3whmUvuxBZR9TEqrMugww=; b=dbog8dH4ek31f3Uk8rNU8icI7t+XoUvgBu40yRrgqQ9kAo2dx02VRGHIa5FnWDSndi eSvVvQpzLEelfq50oY0TqnxJUcacJWoLF+cOc54+QNcm420Ll5nyrGsJxycSbqAS0Zox At6s/37zx2b1KtmjfFEi8njm7BrFrDtqwrFWZe6IlkUmwI514oaoP5TdnVa7+xa2gEm5 JJThWXNT8HfGGYmNSddXPRvrShgAUJwpf/3PMAJgMv0HYW6/Nfdhi8Pwiq63dukSPx9j f3O/zdVOmCiPPg9vjNczh2vyEvcBBLLmW62LGPcI7ssRcNbPPV3Yq9oeESbkWVM1k+Rg i8JQ==
X-Gm-Message-State AJcUukc5TdYdt4aJ6leagTP0poKhoT7EtvalTQ2ZX6i5CcSU56WoQzJO iFi40TVcNMjOXyyZMtZdFqKFcrWgQ/H5WteVsw4=
X-Google-Smtp-Source ALg8bN5gjnsIdmzMdV15y5Ww7Q9nnkKdYyl4KYmVF7tpU+5q5udJBdLmSynnnOEzz3UEqBr1xMPcS1N4VsUO/uEoNRc=
X-Received by 2002:a9d:5e8c:: with SMTP id f12mr12696850otl.343.1545768084616; Tue, 25 Dec 2018 12:01:24 -0800 (PST)
In-Reply-To <996dc3ea-0718-481b-3dc7-4fd358a3a64e@case.edu>
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4864:20::32a
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14950

Show key headers only | View raw


Chet Ramey (<chet.ramey@case.edu>) wrote:

> On 12/19/18 10:15 PM, Bize Ma wrote:
>


> Ah, now we're moving the goalposts.


No, that is not the intent. I merely failed to correctly convey the
perception that others have of your code:

https://unix.stackexchange.com/a/487260/265604

And, having failed, I am trying again.

But, probably, I should just not inform you of what others think given your
upfront rejection to any (constructive) criticism.

There's a case to be made for doing
> that, I suppose, but I'd rather defer to the system's default handling
> for a particular signal.
>

Do as you wish, we will still be able to form our own opinion about buggy
code.

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: write() not retried after EINTR in printf and echo Bize Ma <binaryzebra@gmail.com> - 2018-12-25 16:01 -0400

csiph-web