[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: port the extended stdio primitives to EMX+GCC
From: |
Jim Meyering |
Subject: |
Re: port the extended stdio primitives to EMX+GCC |
Date: |
Thu, 10 Apr 2008 10:04:18 +0200 |
Bruno Haible <address@hidden> wrote:
> The system that Elbert Pol is talking about is derived from emx+gcc (the
> old but well-known POSIX implementation for DOS and OS/2 [the DOS part was
> much more reliable than DJGPP]).
>
> I'm committing first a port for emx+gcc. Untested.
>
> Jim, at the end you find a patch to m4/fpending.m4, part of the same family
> of functions. Is that OK to commit? I derived that information from the fflush
> implementation which goes roughly like this:
>
> n = stream->_ptr - stream->_buffer;
> if (n > 0 && _stream_write (stream->_handle, stream->_buffer, n) <= 0)
> {
> stream->_flags |= _IOERR;
> result = EOF;
> }
>
> I put the EMX case quite far down in the list, to minimize the risk of
> disturbing an already supported platform.
...
That looks right. Go ahead.
Thank you!