From b959e69e2efe23f4904f8ebcb2c6638af32aeb4a Mon Sep 17 00:00:00 2001 From: dkf Date: Fri, 18 Jun 2010 12:41:40 +0000 Subject: * library/init.tcl (auto_execok): [Bug 3017997]: Add .cmd to the default list of extensions that we can execute interactively. --- ChangeLog | 50 ++++++++++++++++++++++++++++---------------------- library/init.tcl | 4 ++-- 2 files changed, 30 insertions(+), 24 deletions(-) diff --git a/ChangeLog b/ChangeLog index f61e60e..568e709 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,30 +1,36 @@ +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 - * generic/tcl.h Simplify Tcl_AppInit and *_Init definitions, - * generic/tclInt.h spacing. Change TclpThreadCreate and Tcl_CreateThread - * generic/tcl.decls signature, making clear that "proc" is a function - * generic/tclDecls.h pointer, as in all other "proc" function parameters. - * generic/tclEvent.c - * generic/tclTestProcBodyObj.c - * win/tclWinThrd.c - * unix/tclUnixThrd.c - * doc/Thread.3 - * doc/Class.3 Fix Tcl_ObjectMetadataType definition + * tools/loadICU.tcl: [Bug 3016135]: Traceback using clock format + * library/msgs/he.msg: with locale of he_IL. + + * generic/tcl.h: Simplify Tcl_AppInit and *_Init definitions, + * generic/tclInt.h: spacing. Change TclpThreadCreate and + * generic/tcl.decls: Tcl_CreateThread signature, making clear that + * generic/tclDecls.h: "proc" is a function pointer, as in all other + * generic/tclEvent.c: "proc" function parameters. + * generic/tclTestProcBodyObj.c: + * win/tclWinThrd.c: + * unix/tclUnixThrd.c: + * doc/Thread.3: + * doc/Class.3: Fix Tcl_ObjectMetadataType definition. 2010-06-14 Jan Nijtmans - * unix/Makefile.in Fix compilation of xttest with 8.6 changes - * unix/tclXtNotify.c - * unix/tclXtTest.c - * generic/tclPipe.c Fix gcc warning (with -fstrict-aliasing=2) - * library/auto.tcl Spacing and style fixes. - * library/history.tcl - * library/init.tcl - * library/package.tcl - * library/safe.tcl - * library/tm.tcl + * unix/Makefile.in: Fix compilation of xttest with 8.6 changes + * unix/tclXtNotify.c: + * unix/tclXtTest.c: + * generic/tclPipe.c: Fix gcc warning (with -fstrict-aliasing=2) + * library/auto.tcl: Spacing and style fixes. + * library/history.tcl: + * library/init.tcl: + * library/package.tcl: + * library/safe.tcl: + * library/tm.tcl: 2010-06-13 Donal K. Fellows diff --git a/library/init.tcl b/library/init.tcl index 6bab1d1..cfcc62f 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.125 2010/06/14 14:56:50 nijtmans Exp $ +# RCS: @(#) $Id: init.tcl,v 1.126 2010/06/18 12:41:42 dkf Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -650,7 +650,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