summaryrefslogtreecommitdiffstats
path: root/tests/winFCmd.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-14 12:31:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-14 12:31:56 (GMT)
commit262b6297ea2f920b93647282240008fb6b77b0e9 (patch)
treef3efaa8264fe428fc1cc73603adc5d94fcd39462 /tests/winFCmd.test
parentf0ec68f07293dac2b967d45a3697073b77688970 (diff)
downloadtcl-262b6297ea2f920b93647282240008fb6b77b0e9.zip
tcl-262b6297ea2f920b93647282240008fb6b77b0e9.tar.gz
tcl-262b6297ea2f920b93647282240008fb6b77b0e9.tar.bz2
Eliminate many "register" keywords (which do nothing with modern compilers)
Eliminate many unnecessary type-casts to (unsigned)
Diffstat (limited to 'tests/winFCmd.test')
-rw-r--r--tests/winFCmd.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/winFCmd.test b/tests/winFCmd.test
index 6d87319..517a56b 100644
--- a/tests/winFCmd.test
+++ b/tests/winFCmd.test
@@ -401,7 +401,7 @@ proc MakeFiles {dirname} {
set f [open $filename w]
close $f
file stat $filename stat
- if {[set n [lsearch -exact -integer $inodes $stat(ino)]] != -1} {
+ if {[set n [lsearch -exact -integer $inodes $stat(ino)]] < 0} {
return [list [file join $dirname Test$n] $filename]
}
lappend inodes $stat(ino)