summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-15 09:06:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-15 09:06:13 (GMT)
commited1d345faacd810c5e013df33c090a87749952d2 (patch)
tree00325b0ed6dab59a5b787656395272d19d362dbb /win
parentd78d4db9543139f2946b65ff6b4e3155a5441016 (diff)
downloadtcl-ed1d345faacd810c5e013df33c090a87749952d2.zip
tcl-ed1d345faacd810c5e013df33c090a87749952d2.tar.gz
tcl-ed1d345faacd810c5e013df33c090a87749952d2.tar.bz2
Fix [85d1fa7d07]: Duplicate file extension check in [file executable] on Windows. It looks like checking for "ps1" is a mistake.
Diffstat (limited to 'win')
-rw-r--r--win/tclWinFile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 8df346f..32c674c 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -1891,7 +1891,6 @@ NativeIsExec(
if ((_wcsicmp(path, L"exe") == 0)
|| (_wcsicmp(path, L"com") == 0)
|| (_wcsicmp(path, L"cmd") == 0)
- || (_wcsicmp(path, L"ps1") == 0)
|| (_wcsicmp(path, L"bat") == 0)) {
return 1;
}