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]

[PATCH] fhandler_tty read_retval fix


Hi,
This patch fixes a premature EOF if the tty_slave happens to 
read read_retval as the pty_master is executing accept_input. 
-steve

ChangeLog entry
2002-11-29 Steve O <bub@io.com>

	* fhandler_tty.cc (fhandler_pty_master::accept_input): Moved
	  read_retval assignment to prevent race condition.  Removed
	  read_retval from return statement.

Attachment: tty_patch.1
Description: Text document


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