diff options
| author | dgp@users.sourceforge.net <dgp> | 2005-04-19 16:32:51 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2005-04-19 16:32:51 (GMT) |
| commit | 2217972890d4ab735a30858b192ec64da795ecbc (patch) | |
| tree | 0b4e1a36e2352961dd37023905e31057474481de /generic/tclBasic.c | |
| parent | 8b760bfce1c1619906296caa285bd370a4be31cd (diff) | |
| download | tcl-2217972890d4ab735a30858b192ec64da795ecbc.zip tcl-2217972890d4ab735a30858b192ec64da795ecbc.tar.gz tcl-2217972890d4ab735a30858b192ec64da795ecbc.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. */ |
