Bruno Haible <[EMAIL PROTECTED]> 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!