diff options
author | dgp <dgp@users.sourceforge.net> | 2005-04-19 16:32:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2005-04-19 16:32:51 (GMT) |
commit | 7d6158ddbd0deb5c5320cfa94ce50e58bdf6ecfc (patch) | |
tree | 0b4e1a36e2352961dd37023905e31057474481de /generic/tclBasic.c | |
parent | 8083af6181543c3852c249319b540c74186e6967 (diff) | |
download | tcl-7d6158ddbd0deb5c5320cfa94ce50e58bdf6ecfc.zip tcl-7d6158ddbd0deb5c5320cfa94ce50e58bdf6ecfc.tar.gz tcl-7d6158ddbd0deb5c5320cfa94ce50e58bdf6ecfc.tar.bz2 |
* generic/tclBasic.c: Added unsupported command
* generic/tclCmdAH.c: [::tcl::unsupported::EncodingDirs] to permit
* generic/tclInt.h: query/set of the encoding search path at
* generic/tclInterp.c: the script level. Updated init.tcl to make
* library/init.tcl: use of the new command. Also updated several
coding practices in init.tcl ("eq" for [string equal], etc.)
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r-- | generic/tclBasic.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index be75a52..17da494 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.144 2005/04/10 23:07:36 dgp Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.145 2005/04/19 16:32:53 dgp Exp $ */ #include "tclInt.h" @@ -405,6 +405,10 @@ Tcl_CreateInterp() TclDefaultBgErrorHandlerObjCmd, (ClientData) NULL, (Tcl_CmdDeleteProc*) NULL ); + /* Register the unsupported encoding search path command */ + Tcl_CreateObjCommand (interp, "::tcl::unsupported::EncodingDirs", + TclEncodingDirsObjCmd, NULL, NULL); + /* * Register the builtin math functions. */ |