Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Fri, 13 Dec 2002 23:05:32 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Changed fhandler_* read and raw_read methods throughout Message-ID: <20021214040532.GA3368@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i To accommodate my recent pipe changes, I've changed all of the fhandler_* read and raw_read methods. I've changed them to void functions whose second parameter is both the length and the return value. I've done this so that if the ReadFile in raw_read succeeds but a signal happens shortly thereafter, the number of bytes read will be available to the caller even though the thread which did the read has been terminated. It's possible that I got one of the many fhandler functions wrong when I went through making this change so if you see odd behavior this is the place to check. cgf