Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199906161036.LAA11839@maths.st-andrews.ac.uk> X-Sender: mh15 AT maths DOT st-andrews DOT ac DOT uk Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 16 Jun 1999 10:47:38 -0100 To: cygwin AT sourceware DOT cygnus DOT com From: mh15 AT st-andrews DOT ac DOT uk (Mark Hindley) Subject: Bug in B20.1 fdopen() I am doing a port of mxgdb and xxgdb to cygwin for times when I don't want/need all of DDD's functionality. I have com across a bug in cygwin's fdopen() function. Trying to open a device with anything other than "r" fails and returns a null pointer. In particular "r+" and "w" both cause a crash. I have written a code to work around the problem using write() but it is not pretty. I need to test it a bit more before I am sure that it is reliable. Has anybody else come across this? Mark Mark Hindley Deputy Director of the Music Centre University of St Andrews 01334 462226 http://www.st-andrews.ac.uk/services/music -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com