delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-developers-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin-developers AT sourceware DOT cygnus DOT com |
Message-ID: | <19990309142548.4553.rocketmail@send103.yahoomail.com> |
Date: | Tue, 9 Mar 1999 06:25:48 -0800 (PST) |
From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
Reply-To: | earnie_boyd AT yahoo DOT com |
Subject: | Re: [bug] Crazy I/O |
To: | cygwin users <cygwin AT sourceware DOT cygnus DOT com> |
MIME-Version: | 1.0 |
--0-2145174067-920989548=:16209 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I've modified the text.tst.c test program based on suggestions from the list as noted in the program. Note this demonstrates a bug where the values for the file descriptor are not reset if the same file descriptor is used. I can also state that the 19990115 snapshot eliminates the WARNING listed in the Users Guide under "the default Cygwin behavior" concerning the processing mode always being binary even if O_TEXT was specified if the default is binary. Earnie. P.S. BCC: developers --- _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com --0-2145174067-920989548=:16209 Content-Type: application/octet-stream; name="text.tst.c" Content-Transfer-Encoding: base64 Content-Description: text.tst.c Content-Disposition: attachment; filename="text.tst.c" I2luY2x1ZGUgPGZjbnRsLmg+DQojaW5jbHVkZSA8c3RkbGliLmg+DQojaW5j bHVkZSA8c3RkaW8uaD4NCiNpbmNsdWRlIDxzdHJpbmcuaD4NCiNpbmNsdWRl IDxpby5oPg0KDQovKg0KICAgdGV4dC50c3QuYw0KICAgVmVyc2lvbiAyDQoq Lw0KDQppbnQNCm1haW4gKHZvaWQpDQp7DQogIGludCBmaDEsIGZoMjsNCiAg dW5zaWduZWQgaW50IG5ieXRlcyA9IDYwMDAwLCBieXRlc3JlYWQ7DQogIGNo YXIgZmgxX0lOWzYwMDAwXTsNCiAgZmgxID0gb3BlbiggInRleHQudHN0LmMi LCBPX1JET05MWSB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vz c2luZyBtb2RlIHJlbWFpbnMgaW4gT19URVhULg0KICAqKiANCiAgKiogVGhl IGZzZWVrIHNob3VsZG4ndCBiZSBuZWVkZWQgYnV0IHdvcmtzIGFyb3VuZCBh IGJ1Zy4NCiAgKioNCiAgKiogSSB0cmllZCBhZGRpbmcgdGhlIGNsb3NlKCAw ICkgYW5kIGZjbG9zZSggc3RkaW4gKSBidXQgdGhhdCBjYXVzZWQgdGhlDQog ICoqIGZzZWVrIGZ1bmN0aW9uIG5vdCB0byB3b3JrIG9idmlvdXNseSBiZWNh dXNlIHRoZSBzdHJlYW0gd2FzIGNsb3NlZC4NCiAgKioNCiAgKi8NCg0KICBm c2Vlayggc3RkaW4sIDBMLCBTRUVLX1NFVCApOw0KICANCiAgDQogIGdldHMo IGZoMV9JTiApOw0KICBieXRlc3JlYWQgPSBzdHJsZW4oZmgxX0lOKTsNCiAg cHJpbnRmKCAicmVhZCAldSBieXRlcyBmcm9tIGZpbGVcbiIsIGJ5dGVzcmVh ZCApOw0KICB7DQogICAgdW5zaWduZWQgaW50IGk7DQogICAgZm9yIChpPTA7 IGk8IGJ5dGVzcmVhZDsgaSsrKSB7DQogICAgICBwcmludGYoICJjaGFyIHZh bHVlOiAlaVx0XHQlY1xuIiwgZmgxX0lOW2ldLCBmaDFfSU5baV0gKTsNCiAg ICB9DQogIH0NCn0NCg== --0-2145174067-920989548=:16209--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |