Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 66051 invoked from network); 21 Feb 2011 21:30:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Feb 2011 21:30:50 -0000 Received: (qmail 1714 invoked by uid 500); 21 Feb 2011 21:30:49 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 1624 invoked by uid 500); 21 Feb 2011 21:30:49 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 1616 invoked by uid 99); 21 Feb 2011 21:30:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Feb 2011 21:30:48 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [188.40.99.202] (HELO eru.sfritsch.de) (188.40.99.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Feb 2011 21:30:42 +0000 Received: from [10.1.1.6] (helo=k.localnet) by eru.sfritsch.de with esmtp (Exim 4.69) (envelope-from ) id 1PrdKl-0007lM-7W; Mon, 21 Feb 2011 22:30:19 +0100 From: Stefan Fritsch To: dev@apr.apache.org Subject: Re: [PATCH] apr_file_flush_locked and short writes Date: Mon, 21 Feb 2011 22:30:19 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.37-1-amd64; KDE/4.4.5; x86_64; ; ) Cc: "Bert Huijben" , "'Blair Zajac'" References: <000801cbd1c7$8f305e80$ad911b80$@qqmail.nl> In-Reply-To: <000801cbd1c7$8f305e80$ad911b80$@qqmail.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102212230.19482.sf@sfritsch.de> On Monday 21 February 2011, Bert Huijben wrote: > > Beyond this, there's no a mechanism to report that all the > > buffered data didn't get into the file. Perhaps > > apr_file_flush() should loop until the entire > > buffer is written or it gets a non-EINTR error? Commited the looping solution as r1073142, r1073145, r1073146