| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-developers-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-developers-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
| List-Post: | <mailto:cygwin-developers AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <cgf AT redhat DOT com> |
| 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 |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |