This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: termios.cc: Restore setting of EBADF appropriately throughout


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  <ford@vss.fsi.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.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]