summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-15 09:08:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-15 09:08:23 (GMT)
commit1c6fae0193fcf99ad83cd2562c8e01b6e1a49c5c (patch)
tree73238ca351d151e4457f7b3f431ea270d5814735 /win/tclWinFile.c
parent9cb33ddcc542ff8855a3892170d61ec1375567e4 (diff)
parent871fc208e1a4c758a0691b65054010c46696015f (diff)
downloadtcl-1c6fae0193fcf99ad83cd2562c8e01b6e1a49c5c.zip
tcl-1c6fae0193fcf99ad83cd2562c8e01b6e1a49c5c.tar.gz
tcl-1c6fae0193fcf99ad83cd2562c8e01b6e1a49c5c.tar.bz2
Fix [85d1fa7d07]: Duplicate file extension check in [file executable] on Windows
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 476911d..f755d11 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -1893,7 +1893,6 @@ NativeIsExec(
if ((_wcsicmp(path, L"exe") == 0)
|| (_wcsicmp(path, L"com") == 0)
|| (_wcsicmp(path, L"cmd") == 0)
- || (_wcsicmp(path, L"cmd") == 0)
|| (_wcsicmp(path, L"bat") == 0)) {
return 1;
}