summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixInit.c
Commit message (Collapse)AuthorAgeFilesLines
* * tests/unixInit.test (unixInit-2.8): Corrected test for alldgp2001-07-021-1/+13
| | | | | | | | | | | | absolute pathnames in library path when executable is installed near root directory to use correct development directory layout. [Bug 438014] * tests/unixInit.test (unixInit-2.9): * unix/tclUnixInit.c (TclpInitLibraryPath): * win/tclWinInit.c (TclpInitLibraryPath): Corrected buggy construction of search path entries relative to executable. Added test for bad construction. [Bug 438014]
* 2001-01-04 Don Porter <dgp@users.sourceforge.net>dgp2001-01-041-7/+13
| | | | | | | | | | | | * tests/unixInit.test: * unix/tclUnixInit.c (TclpInitLibraryPath): * win/tclWinInit.c (TclpInitLibraryPath): Several entries in the library path ($tcl_libPath) are determined relative to the absolute path of the executable. When the executable is installed in or near the root directory of the file system, relative pathnames were being incorrectly generated, and in the worst case, memory access violations were crashing the program. [Bug 119416, Patch 102972]
* * unix/tclUnixInit.c: added default encoding map fromhobbs2000-10-311-1/+2
| | | | "ja_JP.eucJP" to "euc-jp". (takahashi)
* * generic/tclClock.c (FormatClock): correct code to handle localehobbs2000-05-181-14/+9
| | | | | | | | specific return values from strftime, if any. [Bug: 3345] * unix/tclUnixInit.c (TclpSetInitialEncodings): attempt to correct setlocale calls for XIM support and locale issues. [BUG: 5422 3345 4236 2522 2521]
* * unix/Makefile.in: purify has to use -best-effort to instrumenthobbs1999-10-131-2/+2
| | | | | | | | * unix/tclAppInit.c: identified potential mem leak when compiling tcltest (not critical) * unix/tclUnixPipe.c: fixed mem leak in TclpCreateProcess when doing alloc between vfork and execvp. * unix/tclUnixTest.c: fixed mem leak in findexecutable test command
* * Changed version to 8.2b2.redman1999-07-221-7/+7
| | | | | | | | | | | | | | | | | | * win/tclWinPort.h: Block out include of sys/*.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * generic/tclCmdMZ.c: * generic/tclIO.c: Fix ANSI-style prototypes based on patch from Ulrich Ring. [Bug: 2391] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * tests/var.test: * generic/tclVar.c: Fixed bug that caused a seg. fault when using "array set a(b) {}", which is a bad array name anyway. Now the "array set" command will return an error in this case. Added test case and fixed existing test. [Bug: 2427]
* * generic/tclInitScript.h:hershey1999-07-211-6/+6
| | | | | | | | | * unix/tclUnixInit.c: merged code with 8.0.5. We now use an intermediate global tcl var "tclDefaultLibrary" to keep the "tcl_library" var from being set by the default value in the Makefile. Also fixed a bug in which caused the value of TCL_LIBRARY env var to be ignored. * unix/tclWinInit.c: just updated some comments.
* * unix/Makefile.in:stanton1999-05-141-4/+74
| | | | | | | | | | | | * 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]
* * win/tclWinInit.c:stanton1999-04-211-4/+46
| | | | | * unix/tclUnixInit.c: Changed initial search path to match that found used by tcl_findLibrary.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-72/+436
|
* Merged stubs changes into mainline for 8.0stanton1999-03-101-1/+28
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* changed to set tclDefaultLibrary instead of tcl_librarystanton1998-07-241-1/+2
|
* Moved the variable 'tclPreInitScript' to the file generic/tclInitScript.hsuresh1998-07-091-10/+3
|
* Cleaned up PlatformInitExitHandlerwelch1998-07-061-2/+0
|
* Changed variable name "tclAlternateInitScript" to "tclPreInitScript".suresh1998-07-011-8/+9
| | | | Added error checking in in Tcl_Init() for pre-initialization script.
* Added definition of variable "tclAlternateInitScript" which is a globabl var-suresh1998-07-011-0/+12
| | | | | | iable and if set to a non-NULL value, will be evaluated just before the built-in script given in the file (variable) "generic/tclInitScript.h" ("initScript").
* plugin updateswelch1998-06-271-47/+3
|
* lintstanton1998-06-251-1/+2
|
* Added an additional env. var. ("tcl_pkgLibrary") that is searched prior to allsuresh1998-06-231-0/+3
| | | | other locations for the "tk.tcl" file. This facilitates application packaging.
* changed size of static buffers in tclUnixInit to ensure that they arestanton1998-06-181-2/+2
| | | | large enough for any TCL_LIBRARY or TCL_PACKAGE_PATH
* Initial revisionrjohnson1998-03-261-0/+317