diff options
author | stanton <stanton@noemail.net> | 1999-05-14 02:18:30 (GMT) |
---|---|---|
committer | stanton <stanton@noemail.net> | 1999-05-14 02:18:30 (GMT) |
commit | 1a1fb4468089c089d5880fec5aa2ce9c54c573bf (patch) | |
tree | bf323d5146956cc24306dbbb2993ea9e5ec4a1cf /unix/tclAppInit.c | |
parent | b88f0cc94ee70b18d3c41b78ef7eb58ae7d0b691 (diff) | |
download | tcl-1a1fb4468089c089d5880fec5aa2ce9c54c573bf.zip tcl-1a1fb4468089c089d5880fec5aa2ce9c54c573bf.tar.gz tcl-1a1fb4468089c089d5880fec5aa2ce9c54c573bf.tar.bz2 |
* unix/Makefile.in:
* unix/tclAppInit.c: Minor cleanup related to Xt notifier.
* unix/tclUnixInit.c (TclpSetInitialEncodings): Tcl now looks for
an encoding subfield in the LANG/LC_ALL variables in cases where
the locale is not found in the locale table. Ensure that
setlocale() is called at least once so X11 will initialize
properly. Also, forces the LC_NUMERIC locale to be "C" so numeric
processing in scripts is not affected by the current locale
setting. [Bug: 1989]
FossilOrigin-Name: 6ea73d3f197450d81f39c91b71c1527d17d20f80
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r-- | unix/tclAppInit.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c index b37189e..e452705 100644 --- a/unix/tclAppInit.c +++ b/unix/tclAppInit.c @@ -11,13 +11,9 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclAppInit.c,v 1.5 1999/04/16 00:48:03 stanton Exp $ + * RCS: @(#) $Id: tclAppInit.c,v 1.6 1999/05/14 02:18:32 stanton Exp $ */ -#ifdef TCL_XT_TEST -#include <X11/Intrinsic.h> -#endif - #include "tcl.h" /* @@ -44,6 +40,7 @@ extern int TclThread_Init _ANSI_ARGS_((Tcl_Interp *interp)); #endif /* TCL_TEST */ #ifdef TCL_XT_TEST +extern void XtToolkitInitialize _ANSI_ARGS_((void)); extern int Tclxttest_Init _ANSI_ARGS_((Tcl_Interp *interp)); #endif |