termios.cc: Restore setting of EBADF appropriately throughout
Fri Dec 12 19:33:00 GMT 2003
On Fri, 12 Dec 2003, Christopher Faylor wrote:
> On Fri, Dec 12, 2003 at 01:14:32PM -0600, Brian Ford wrote:
> >I noticed this while digging through other serial port problems. It
> >appears to have been lost in version 1.16, although there did not appear
> >to be a reason for the loss in that change. Please let me know if it was
> >intentional for some reason that I do not understand. Thanks.
> >2003-12-12 Brian Ford <email@example.com>
> > * termios.cc: Restore setting of EBADF appropriately throughout.
> > Lost in version 1.16.
> I think you've missed the fact that cygheap_fdget sets errno. That is part of
> the reason for its existence. If it is not doing that, then that's the bug
> which needs to be fixed.
Yep, missed it. Sorry, I guess I keep expecting things to be more
orthogonal than they are.
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
More information about the Cygwin-patches