This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Bug in B20.1 fdopen()
- To: cygwin@sourceware.cygnus.com
- Subject: Bug in B20.1 fdopen()
- From: mh15@st-andrews.ac.uk (Mark Hindley)
- Date: Wed, 16 Jun 1999 10:47:38 -0100
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@sourceware.cygnus.com