summaryrefslogtreecommitdiffstats
path: root/library/platform/shell.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-06-20 20:13:34 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-06-20 20:13:34 (GMT)
commitfa97b72e5eb7b22c29f11a45c41160a3a32e64bb (patch)
tree411e52b57560b7aff4e96229eeb8e6b651f37772 /library/platform/shell.tcl
parent5f8dff42ac6dc46d1aca06a1e94c41ac27c41cf2 (diff)
parentf9037344f87d9722ef8152dd4c5b404cdd7ba983 (diff)
downloadtcl-fa97b72e5eb7b22c29f11a45c41160a3a32e64bb.zip
tcl-fa97b72e5eb7b22c29f11a45c41160a3a32e64bb.tar.gz
tcl-fa97b72e5eb7b22c29f11a45c41160a3a32e64bb.tar.bz2
merge 8.5
Diffstat (limited to 'library/platform/shell.tcl')
-rw-r--r--library/platform/shell.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/platform/shell.tcl b/library/platform/shell.tcl
index e0a129a..d37cdcd 100644
--- a/library/platform/shell.tcl
+++ b/library/platform/shell.tcl
@@ -187,7 +187,7 @@ proc ::platform::shell::TEMP {} {
}
}
}
- if {[string compare $channel ""]} {
+ if {$channel != ""} {
return -code error "Failed to open a temporary file: $channel"
} else {
return -code error "Failed to find an unused temporary file name"