diff options
author | dgp <dgp@users.sourceforge.net> | 2007-09-05 21:31:01 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-09-05 21:31:01 (GMT) |
commit | 3ba6d8349dcdfb6638956648ba6800f8255c29e8 (patch) | |
tree | e1c80edc7a685448f24059f26524a5a378ce8cb9 /generic | |
parent | c4b8fc25c68476800d7e9a8a872844807666a46b (diff) | |
download | tcl-3ba6d8349dcdfb6638956648ba6800f8255c29e8.zip tcl-3ba6d8349dcdfb6638956648ba6800f8255c29e8.tar.gz tcl-3ba6d8349dcdfb6638956648ba6800f8255c29e8.tar.bz2 |
* generic/tclBasic.c: Removed support for the unmaintained
* generic/tclExecute.c: -DTCL_GENERIC_ONLY configuration. [Bug 1264623]
* unix/Makefile.in:
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclBasic.c | 9 | ||||
-rw-r--r-- | generic/tclExecute.c | 18 |
2 files changed, 2 insertions, 25 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index cea8816..3babbf9 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.266 2007/08/28 16:24:28 dgp Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.267 2007/09/05 21:31:01 dgp Exp $ */ #include "tclInt.h" @@ -186,7 +186,6 @@ static const CmdInfo builtInCmds[] = { * Commands in the UNIX core: */ -#ifndef TCL_GENERIC_ONLY {"after", Tcl_AfterObjCmd, NULL, 1}, {"cd", Tcl_CdObjCmd, NULL, 0}, {"file", Tcl_FileObjCmd, NULL, 0}, @@ -200,14 +199,12 @@ static const CmdInfo builtInCmds[] = { {"vwait", Tcl_VwaitObjCmd, NULL, 1}, {"exec", Tcl_ExecObjCmd, NULL, 0}, {"source", Tcl_SourceObjCmd, NULL, 0}, -#endif /* TCL_GENERIC_ONLY */ {NULL, NULL, NULL, 0} }; static const CmdInfo2 builtInCmds2[] = { {"fileevent", "::tcl::chan::event", Tcl_FileEventObjCmd, 1}, {"fcopy", "::tcl::chan::copy", Tcl_FcopyObjCmd, 1}, -#ifndef TCL_GENERIC_ONLY {"close", "::tcl::chan::close", Tcl_CloseObjCmd, 1}, {"eof", "::tcl::chan::eof", Tcl_EofObjCmd, 1}, {"fblocked", "::tcl::chan::blocked", Tcl_FblockedObjCmd, 1}, @@ -218,7 +215,6 @@ static const CmdInfo2 builtInCmds2[] = { {"read", "::tcl::chan::read", Tcl_ReadObjCmd, 1}, {"seek", "::tcl::chan::seek", Tcl_SeekObjCmd, 1}, {"tell", "::tcl::chan::tell", Tcl_TellObjCmd, 1}, -#endif /* TCL_GENERIC_ONLY */ {NULL, NULL, 0} }; @@ -705,10 +701,7 @@ Tcl_CreateInterp(void) */ TclInterpInit(interp); - -#ifndef TCL_GENERIC_ONLY TclSetupEnv(interp); -#endif /* * TIP #59: Make embedded configuration information diff --git a/generic/tclExecute.c b/generic/tclExecute.c index b2abf5b..52f70a3 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.328 2007/09/03 01:28:31 das Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.329 2007/09/05 21:31:02 dgp Exp $ */ #include "tclInt.h" @@ -34,22 +34,6 @@ #endif /* - * The stuff below is a bit of a hack so that this file can be used in - * environments that include no UNIX. - * TODO: Does this serve any purpose anymore? - */ - -#ifdef TCL_GENERIC_ONLY -# ifndef NO_FLOAT_H -# include <float.h> -# else /* NO_FLOAT_H */ -# ifndef NO_VALUES_H -# include <values.h> -# endif /* !NO_VALUES_H */ -# endif /* !NO_FLOAT_H */ -#endif /* !TCL_GENERIC_ONLY */ - -/* * A mask (should be 2**n-1) that is used to work out when the bytecode engine * should call Tcl_AsyncReady() to see whether there is a signal that needs * handling. |