From 37fc04cb2ee528291f83f44ad5c460c538a46f08 Mon Sep 17 00:00:00 2001 From: dkf Date: Fri, 18 Jun 2010 12:43:51 +0000 Subject: * library/init.tcl (auto_execok): [Bug 3017997]: Add .cmd to the default list of extensions that we can execute interactively. --- ChangeLog | 9 +++++++-- library/init.tcl | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 41f54a6..84d8762 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ +2010-06-18 Donal K. Fellows + + * library/init.tcl (auto_execok): [Bug 3017997]: Add .cmd to the + default list of extensions that we can execute interactively. + 2010-06-16 Jan Nijtmans - * tools/loadICU.tcl [Bug 3016135] traceback using clock format with - * library/msgs/he.msg locale of he_IL + * tools/loadICU.tcl: [Bug 3016135]: Traceback using clock format + * library/msgs/he.msg: with locale of he_IL 2010-06-09 Andreas Kupries diff --git a/library/init.tcl b/library/init.tcl index 3fce52f..87eb659 100644 --- a/library/init.tcl +++ b/library/init.tcl @@ -3,7 +3,7 @@ # Default system startup file for Tcl-based applications. Defines # "unknown" procedure and auto-load facilities. # -# RCS: @(#) $Id: init.tcl,v 1.104.2.13 2009/11/03 19:21:38 dgp Exp $ +# RCS: @(#) $Id: init.tcl,v 1.104.2.14 2010/06/18 12:43:51 dkf Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -659,7 +659,7 @@ proc auto_execok name { # Add an initial ; to have the {} extension check first. set execExtensions [split ";$env(PATHEXT)" ";"] } else { - set execExtensions [list {} .com .exe .bat] + set execExtensions [list {} .com .exe .bat .cmd] } if {$name in $shellBuiltins} { -- cgit v0.12