aboutsummaryrefslogtreecommitdiff
path: root/tclcompat.tcl
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2012-02-10 13:29:39 +1000
committerSteve Bennett <steveb@workware.net.au>2012-02-10 13:29:39 +1000
commitd8d8ed7b09d0bcd0070828e0204f6395215cd086 (patch)
tree66c978b94db2fab78ed6c32ee822877992a4d1b2 /tclcompat.tcl
parent4adf7e3abd33471672488e121dc1c4f32dc65b00 (diff)
downloadjimtcl-d8d8ed7b09d0bcd0070828e0204f6395215cd086.zip
jimtcl-d8d8ed7b09d0bcd0070828e0204f6395215cd086.tar.gz
jimtcl-d8d8ed7b09d0bcd0070828e0204f6395215cd086.tar.bz2
Sense of fconfigure ... -blocking is reversed
We implement fconfigure -blocking via $sock ndelay, but the sense of ndelay is the reverse of -blocking Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tclcompat.tcl')
-rw-r--r--tclcompat.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tclcompat.tcl b/tclcompat.tcl
index d0a0201..21c3922 100644
--- a/tclcompat.tcl
+++ b/tclcompat.tcl
@@ -40,7 +40,7 @@ if {[info commands stdout] ne ""} {
foreach {n v} $args {
switch -glob -- $n {
-bl* {
- $f ndelay $v
+ $f ndelay $(!$v)
}
-bu* {
$f buffering $v