diff options
author | dgp <dgp@users.sourceforge.net> | 2006-06-21 03:10:38 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-06-21 03:10:38 (GMT) |
commit | 91cc250daf9aa5acf716c0ca9bf549d6425721ad (patch) | |
tree | 30cb949d48ee47880f9006db35d4132ddddcdcfa /generic/tclIOUtil.c | |
parent | 641e35486f4483506ffcdba37e016ce03ddc3f9a (diff) | |
download | tcl-91cc250daf9aa5acf716c0ca9bf549d6425721ad.zip tcl-91cc250daf9aa5acf716c0ca9bf549d6425721ad.tar.gz tcl-91cc250daf9aa5acf716c0ca9bf549d6425721ad.tar.bz2 |
* generic/tclIOUtil.c: Changed default configuration to
* generic/tclInt.decls: #undef USE_OBSOLETE_FS_HOOKS which disables
* generic/tclTest.c: access to the Tcl 8.3 internal routines for
hooking into filesystem operations. Everyone ought to have migrated
to Tcl_Filesystems by now.
***POTENTIAL INCOMPATIBILITY*** for any code still stuck in the
pre-Tcl_Filesystem era.
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
* generic/tclStrToD.c: Removed dead code that permitted disabling
of recognition of the new 0b and 0o numeric formats.
* generic/tclExecute.c: Removed dead code that implemented alternative
* generic/tclObj.c: design where numeric values did not
automatically narrow to the smallest Tcl_ObjType required to hold
them.
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r-- | generic/tclIOUtil.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c index 1196352..c35e319 100644 --- a/generic/tclIOUtil.c +++ b/generic/tclIOUtil.c @@ -17,7 +17,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIOUtil.c,v 1.131 2006/03/28 10:28:36 das Exp $ + * RCS: @(#) $Id: tclIOUtil.c,v 1.132 2006/06/21 03:10:39 dgp Exp $ */ #include "tclInt.h" @@ -240,7 +240,7 @@ Tcl_EvalFile( * support, I suggest all these hooks are removed. */ -#define USE_OBSOLETE_FS_HOOKS +#undef USE_OBSOLETE_FS_HOOKS #ifdef USE_OBSOLETE_FS_HOOKS @@ -807,9 +807,11 @@ TclFinalizeFilesystem(void) * filesystem is likely to fail. */ +#ifdef USE_OBSOLETE_FS_HOOKS statProcList = NULL; accessProcList = NULL; openFileChannelProcList = NULL; +#endif #ifdef __WIN32__ TclWinEncodingsCleanup(); #endif @@ -2149,9 +2151,9 @@ Tcl_FSOpenFileChannel( * what modes to create it? */ { Tcl_Filesystem *fsPtr; -#ifdef USE_OBSOLETE_FS_HOOKS Tcl_Channel retVal = NULL; +#ifdef USE_OBSOLETE_FS_HOOKS /* * Call each of the "Tcl_OpenFileChannel" functions in succession. A * non-NULL return value indicates the particular function has succeeded. |