diff options
| author | dgp@users.sourceforge.net <dgp> | 2014-06-02 20:03:14 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2014-06-02 20:03:14 (GMT) |
| commit | bfc4d9b72e3d42cd19abe475547d080286c2636a (patch) | |
| tree | a7121fb462da5136135109fa4c8d034d27cd05fd /unix | |
| parent | c37436ca4562d218084d734a829e3080d798968f (diff) | |
| download | tcl-bfc4d9b72e3d42cd19abe475547d080286c2636a.zip tcl-bfc4d9b72e3d42cd19abe475547d080286c2636a.tar.gz tcl-bfc4d9b72e3d42cd19abe475547d080286c2636a.tar.bz2 | |
These edits make the tests socket-14.11.[01] stop hanging, but also introduce
a whole raft of test failures. WIP.
Diffstat (limited to 'unix')
| -rw-r--r-- | unix/tclUnixSock.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c index 08a14d3..47d0681 100644 --- a/unix/tclUnixSock.c +++ b/unix/tclUnixSock.c @@ -1160,11 +1160,9 @@ out: * the event mechanism one roundtrip through select(). */ - /* Note: disabling this for now as it causes spurious event triggering - * under Linux (see test socket-14.15). */ -#if 0 - Tcl_NotifyChannel(statePtr->channel, TCL_WRITABLE); -#endif + if (statePtr->cachedBlocking == TCL_MODE_NONBLOCKING) { + Tcl_NotifyChannel(statePtr->channel, TCL_WRITABLE); + } } if (error != 0) { /* |
