summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-05 13:55:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-05 13:55:00 (GMT)
commit8dac135fc9c8efae2cc3113bc975ab871ff2271f (patch)
treea036d4acb69bc769ac6538fc9b57f9f09cd8e3a6 /win/tclWinPipe.c
parentd84492f3906d20d05b547a4fa90286fe0a59bb37 (diff)
downloadtcl-8dac135fc9c8efae2cc3113bc975ab871ff2271f.zip
tcl-8dac135fc9c8efae2cc3113bc975ab871ff2271f.tar.gz
tcl-8dac135fc9c8efae2cc3113bc975ab871ff2271f.tar.bz2
Allow additional optional "interp" argument for testinterpresolver command. Not used yet in any test-case.
Protect panic in tclLiteral.c for possible null-pointer access. (cherry-picked from Gustaf Neuman's interpresolver patch). Eliminate some unecessary spacing.
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r--win/tclWinPipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index 382addd..4666deb 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -1337,7 +1337,7 @@ ApplicationType(
Tcl_DStringFree(&ds);
ext = strrchr(fullName, '.');
- if ((ext != NULL) &&
+ if ((ext != NULL) &&
(strcasecmp(ext, ".cmd") == 0 || strcasecmp(ext, ".bat") == 0)) {
applType = APPL_DOS;
break;