delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/14/07:00:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_20,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D7DF530.3000101@tweerlei.de>
Date: Mon, 14 Mar 2011 12:00:00 +0100
From: Robert Wruck <wruck AT tweerlei DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.8: write fails with EAGAIN
References: <4D72992D DOT 4090007 AT tweerlei DOT de> <20110307103951 DOT GL6393 AT calimero DOT vinschen DOT de> <4D77C5CB DOT 1040909 AT tweerlei DOT de> <4D77C9C8 DOT 2000802 AT cygwin DOT com> <4D77CCC4 DOT 3070406 AT tweerlei DOT de> <4D77CF7F DOT 7090009 AT tweerlei DOT de> <4D77D923 DOT 1090508 AT tweerlei DOT de> <4D793088 DOT 8050406 AT tweerlei DOT de> <4D795687 DOT 8010001 AT tweerlei DOT de>
In-Reply-To: <4D795687.8010001@tweerlei.de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

just re-tested this with cygwin1-20110313.dll.
Here is the result (output of my "writetest" program):

writing 78954543 bytes...
result is 32505856, errno is 27
writing 46448687 bytes...
result is -1, errno is 27
writing 46448687 bytes...
result is -1, errno is 27
[ repeating a few hundred times ]
writing 46448687 bytes...
result is 46448687, errno is 27

The total number of write attempts varies, on my test machine it's 
between 400 and 600.
The resulting output file is correct.

I also had _one_ case where the program seemed to be stuck but I was not 
able to reproduce this one:

writing 78954543 bytes...
result is 32505856, errno is 27
writing 46448687 bytes...
result is -1, errno is 27
writing 46448687 bytes...
result is -1, errno is 27
[ repeating a few hundred times ]
writing 46448687 bytes...
result is 32505856, errno is 27
writing 13942831 bytes...
result is 0, errno is 27
writing 13942831 bytes...
result is 0, errno is 27
[ repeating until Ctrl-C ]


-Robert

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019