delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/16/06:38:43

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
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

- Raw text -


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