summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorashok <ashok>2016-07-09 14:18:22 (GMT)
committerashok <ashok>2016-07-09 14:18:22 (GMT)
commitcc8c25008d6a30ceb0b4a6946e4a3d45431637c6 (patch)
tree363d4cf0de55087e7ce2d4a73b1c80c68207922e /win/tclWinFile.c
parent11dc688b81fc6d55eb42fd23e063a5310569d71d (diff)
downloadtcl-cc8c25008d6a30ceb0b4a6946e4a3d45431637c6.zip
tcl-cc8c25008d6a30ceb0b4a6946e4a3d45431637c6.tar.gz
tcl-cc8c25008d6a30ceb0b4a6946e4a3d45431637c6.tar.bz2
Bugfix [9ece99d58b]. Make exec understand .CMD files on Windows.
Diffstat (limited to 'win/tclWinFile.c')
-rwxr-xr-xwin/tclWinFile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 3e8a171..dbfdfd0 100755
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -1795,7 +1795,6 @@ NativeIsExec(
if ((_tcsicmp(path+len-3, TEXT("exe")) == 0)
|| (_tcsicmp(path+len-3, TEXT("com")) == 0)
|| (_tcsicmp(path+len-3, TEXT("cmd")) == 0)
- || (_tcsicmp(path+len-3, TEXT("ps1")) == 0)
|| (_tcsicmp(path+len-3, TEXT("bat")) == 0)) {
return 1;
}