From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4623 invoked by alias); 7 Oct 2016 12:41:40 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 4565 invoked by uid 89); 7 Oct 2016 12:41:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=interrupted, 67585, GFortran, syscalls X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-wm0-f67.google.com Received: from mail-wm0-f67.google.com (HELO mail-wm0-f67.google.com) (74.125.82.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Oct 2016 12:41:32 +0000 Received: by mail-wm0-f67.google.com with SMTP id b201so2805783wmb.1; Fri, 07 Oct 2016 05:41:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=P/uoSMnB5HQcj2zHl4uAGq7+qXEPCfrJLW1TL2LIMp4=; b=ObvGQ11K6Ne+U+mzLh9LdLZz1qRsTefYbg03AX/H0iuq1Yu6gK6nUnl7+pse8OZgQn coOJLKgFkIIhEmrW4d2bkGixlDfk8cJRu8DR8s/Yb9bh+8ayNqqoX7MjpD24PpYTaGoa JcMTZb271Ljos8G+d+NO4BvSQhf4LPaR0P7RoJ99jLD2H71HqnPzBocNfd+aehkjsJvI SEfOZ9h54d0UJHBy1RcfPT3Lr7h2B8vORioGGpL5+TicNFVfun6itxzRl+h+qxbOV2D8 2PZdDxJ1N4hvyfNVZ1sJYyjORpWdlXokRyWZBcsjRHNV40MZXs3vwht7HmA99w5LEQbA sTJg== X-Gm-Message-State: AA6/9RlvyfnWuljqe2Zk2nIEg2Ero0jDBwpAxmmX9ZYxURdh+TMedUCvH/vUgFvFReRSrQ== X-Received: by 10.28.71.205 with SMTP id m74mr27678470wmi.47.1475844090497; Fri, 07 Oct 2016 05:41:30 -0700 (PDT) Received: from [192.168.100.8] (chp127.enscp.fr. [193.51.253.127]) by smtp.gmail.com with ESMTPSA id o5sm2855619wmg.16.2016.10.07.05.41.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Oct 2016 05:41:29 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\)) Subject: Re: [PATCH, libgfortran] PR 67585 Handle EINTR From: FX In-Reply-To: <1475843186-3429-1-git-send-email-blomqvist.janne@gmail.com> Date: Fri, 07 Oct 2016 12:41:00 -0000 Cc: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <1475843186-3429-1-git-send-email-blomqvist.janne@gmail.com> To: Janne Blomqvist X-SW-Source: 2016-10/txt/msg00484.txt.bz2 > Many POSIX systems have the bad habit of not restarting interrupted > syscalls. On these systems it's up to the user to check for an error > with errno =3D=3D EINTR and restart manually. This patch does this for > libgfortran, so that GFortran users don't have to do it. I have not much experience with EINTR, but is it garanteed that those EINTR= loops will never cycle forever? Apart from that, OK to commit. FX