diff options
author | stanton <stanton> | 1999-05-14 02:18:31 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-05-14 02:18:31 (GMT) |
commit | a0ab2701b222435532aa1941280d76fbfef9a8eb (patch) | |
tree | bf323d5146956cc24306dbbb2993ea9e5ec4a1cf /unix/tclAppInit.c | |
parent | d384504a71f7fc403210d9574f3e57af920036d1 (diff) | |
download | tcl-a0ab2701b222435532aa1941280d76fbfef9a8eb.zip tcl-a0ab2701b222435532aa1941280d76fbfef9a8eb.tar.gz tcl-a0ab2701b222435532aa1941280d76fbfef9a8eb.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]
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 |