diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-15 09:06:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-15 09:06:13 (GMT) |
commit | 871fc208e1a4c758a0691b65054010c46696015f (patch) | |
tree | 00325b0ed6dab59a5b787656395272d19d362dbb | |
parent | c942ef369bab61550b2904337f031f958da3b28e (diff) | |
download | tcl-871fc208e1a4c758a0691b65054010c46696015f.zip tcl-871fc208e1a4c758a0691b65054010c46696015f.tar.gz tcl-871fc208e1a4c758a0691b65054010c46696015f.tar.bz2 |
Fix [85d1fa7d07]: Duplicate file extension check in [file executable] on Windows. It looks like checking for "ps1" is a mistake.
-rw-r--r-- | win/tclWinFile.c | 1 |
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; } |