This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: (4/6): i386-pc-interix support -- libio
- To: egcs-patches at cygnus dot com
- Subject: Re: (4/6): i386-pc-interix support -- libio
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 30 Jan 1999 09:02:24 -0800
- Newsgroups: cygnus.egcs.patches
- Organization: Cygnus Solutions
- References: <Pine.SUN.3.93.990127002849.4622E-100000@modi.xraylith.wisc.edu>, <6030.917708921.cygnus.egcs.patches@hurl.cygnus.com>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
law@cygnus.com (Jeffrey A Law) writes:
> > Wed Jan 20 19:12:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
> >
> > * stdiostream.cc (_POSIX_SOURCE): Define.
> Gross, but this does seem to be the way this is handled elsewhere in libio.
This seems not to be correct. The fileno function of the system must
not be used. Try replacing the fileno() call in stdiostream.cc with a
call to _IO_fileno() instead.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------