summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***hobbs2000-02-051-2/+1
| | | FossilOrigin-Name: bfb5a3081dcd1d3fc37a62c854d16345ad466f1f
* * tests/regexp.test: added tests for -all and -inline switcheshobbs2000-02-021-74/+150
| | | | | | | | * doc/regexp.n: added docs for -all and -inline switches * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): added extra comments for new -all and -inline switches to regexp command FossilOrigin-Name: 9176c9a50b9d3ad8a6bba20cd9e6aae6a846b16c
* * generic/tclFileName.c (Tcl_JoinPath): improved support for specialhobbs2000-02-011-3/+6
| | | | | | QNX node id prefixes in pathnames [Bug: 4053] FossilOrigin-Name: d0269bc1eb504c4d5353fdc04dd3d30409b263b5
* * generic/tclNamesp.c: Undid fix for #956, which broke backwardsericm2000-01-261-3/+2
| | | | | | | | | | | | | | | compatibility. * doc/variable.n: * doc/trace.n: * doc/namespace.n: * doc/info.n: Added further information about differences between "namespace which" and "info exists". * doc/SetErrno.3: Added descriptions of ErrnoId() and ErrnoMsg() functions. FossilOrigin-Name: 234fd734e8d4daeaea295834d47f4f7b419321d5
* * generic/tclClock.c (FormatClock): inlined resultPtr, as ithobbs2000-01-264-13/+24
| | | | | | | | | | | | conflicted with var creation for HAVE_TZSET #def [Bug: 4063] * generic/tclCmdIL.c (Tcl_LsortObjCmd): fixed potential leak when calling lsort -command with bad command [Bug: 4067] * generic/tclFileName.c (Tcl_JoinPath): added support for special QNX node id prefixes in pathnames [Bug: 4053] FossilOrigin-Name: 9211c6268f0c9dd3a44d32c6135801528efc6222
* * generic/tclInt.h:hobbs2000-01-245-19/+28
| | | | | | | | | | | * generic/tcl.decls: moved Tcl_ProcObjCmd to stubs table [Bug: 3827] and removed 'register' from stub definition of Tcl_AppendUnicodeToObj [Bug: 4038] * generic/tclFileName.c: improved guessing of path separator for the Mac. (Darley) FossilOrigin-Name: 981dd41cfbe8dbb4df9ab32ad30d2e4af2dc0417
* * namespace.test: Added test for undefined variables withericm2000-01-211-2/+3
| | | | | | | | | namespace which (bug #956). * tclNamesp.c: Added check for undefined variables in NamespaceWhichCmd (bug #956). FossilOrigin-Name: bb4c1ac9e3af39fe8a8642fa167356115896eb8a
* * var.test: Added tests for corrected variable behavior (bug #981).ericm2000-01-211-1/+12
| | | | | | | | | | | | * upvar.n: Expanded explanation of upvar behavior with respect to variable traces. (bugs 3917 1433 2110). * tclVar.c: Changed behavior of variable command when name refers to an element in an array (ie, "variable foo(x)") to always return an error, regardless of existance of that element in the array (now behavior is consistant with docs too) (bug #981). FossilOrigin-Name: 4521696b9889a95617c9e09d9b76d94efa5bd049
* * generic/tclCmdIL.c (InfoBodyCmd): made [info body] return ahobbs2000-01-215-27/+61
| | | | | | | | | | | | | string if the body has been bytecompiled. * generic/tclBasic.c (Tcl_EvalObjEx): added pedantic check for originating proc body of bytecompiled code, #def'd out as the change for [info body] should make it unnecessary * tests/set.test: added test for complex array elem name compiling * generic/tclCompCmds.c (TclCompileSetCmd): Fixed parsing of array elements during compiling, and slightly optimised same [Bug: 3889] FossilOrigin-Name: 15c9a98cc96085c2df465b9c553c1108074cf44d
* * tests/var.test: Added a test for the array multiple deleteericm2000-01-151-1/+16
| | | | | | | | | | | | | protection in Tcl_UnsetVar2. * generic/tclVar.c: Added protection in Tcl_UnsetVar2 against attempts to multiply delete arrays when unsetting them (bug #3453). This could happen if there was an unset trace on an array element and the trace proc made a global or upvar link to the array, and then the array was unset at the global level. See the bug reference for more information. FossilOrigin-Name: f0922bda2d3f3ce7007f5a9ac7749465a40f363f
* * unix/tclUnixTime.c: New clock format format.ericm2000-01-142-129/+167
| | | | | | | | * compat/strftime.c: New clock format format. * generic/tclGetDate.y: New clock scan format. FossilOrigin-Name: 53023d030d3ce288ed929ac8fad6c03646e458c3
* * README:core-8-3-b2hobbs2000-01-142-5/+5
| | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.m4: * win/README.binary: * win/configure.in: updated to patchlevel 8.3b2 FossilOrigin-Name: c857d530775c8be8a18a424919aac862920168cf
* * tests/cmdIL.test: Added tests for lsort -dictionary withericm2000-01-131-18/+16
| | | | | | | | | | | | characters that occur between Z and a in ASCII. * generic/tclCmdIL.c: Modified DictionaryCompare function (used by lsort -dictionary) to do upper/lower case equivalency before doing character comparisons, instead of after. This fixes bug #1357, in which lsort -dictionary [list ` AA c CC] and lsort -dictionary [list AA c ` CC] gave different (and both wrong) results. FossilOrigin-Name: be988a1220696cef4c8be83ff6ef9270648cc35c
* * tests/clock.test: Added tests for "next <day-of-week>" andericm2000-01-122-73/+105
| | | | | | "<day-of-week>" FossilOrigin-Name: 927e25a961366cf30f4722dabf6417dc391213c9
* * doc/tests/clock.test: Added numerous tests for clock scan.ericm2000-01-122-182/+120
| | | | | | | | | | | * doc/generic/tclGetDate.y: Fixed some shift/reduce conflicts in clock grammar. * doc/doc/clock.n: Added documentation for new supported clock scan formats and additional explanation of daylight savings time correction algorithm. FossilOrigin-Name: 5b25723b45f0f63cd286ac8b8ae52a2714f4cf8b
* * generic/tclClock.c: fixed support for 64bit handling of clockhobbs2000-01-124-34/+116
| | | | | | | | | | | | | | values [Bug: 1806] * generic/tclThreadTest.c: upped a buffer size to hold double * tests/info.test: * generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong) * generic/tclNamesp.c: made imported commands also import their compile proc [Bug: 2100] FossilOrigin-Name: 665ebd74dfb529dd964b2d4cab19c4271a36b284
* * generic/tclGetDate.y: Added comments for the Convert function.ericm2000-01-122-702/+1039
| | | | | | | | | Added a fix for daylight savings time handling for relative time spans of days, weeks or fortnights. * generic/tclDate.c: Fixed compiler warning issues. FossilOrigin-Name: 69adbd6db87fd94c07fe31c890fca5ec1afb62f7
* * generic/tclGetDate.y: Added comments for the Convert function.ericm2000-01-122-7/+69
| | | | | | * generic/tclDate.c: Fixed compiler warning issues. FossilOrigin-Name: 286cd58368d4b9c1b47373223f2e8d72c88b2220
* * generic/tclUtf.c: changed Tcl_UtfBackslash to not allowhobbs2000-01-113-9/+21
| | | | | | | | | non-octal digits (8,9) in \ooo substs. [Bug: 3975] * generic/tcl.h: noted need to change win/tcl.m4 and tools/tclSplash.bmp for minor version changes FossilOrigin-Name: f664655d336629ba00d54f4714d380c88fa73a24
* fixed "next" constant to give 1 unit ahead, not 2.ericm2000-01-112-4/+4
| | | FossilOrigin-Name: 1438d1edd07d9cb71460f07975be12ab4041cde1
* yacc runericm2000-01-112-4/+2
| | | FossilOrigin-Name: 70e29604ff30aa6841451b80fd4dea6a39e630e5
* *** empty log message ***ericm2000-01-111-860/+682
| | | FossilOrigin-Name: 4ae9f19e4fc5afb9f18b5381a229b3bb3b85e008
* * generic/tclGetDate.y: Added rules for ISO 8601 formats (BUG #847):ericm2000-01-111-32/+70
| | | | | | | | | | | | | | | CCYY-MM-DD CCYYMMDD YY-MM-DD YYMMDD CCYYMMDDTHHMMSS CCYYMMDD HHMMSS CCYYMMDDTHH:MM:SS Fixed "clock scan <number>" to scan the number as an hour for the current day, rather than a minute after 00:00 for the current day (bug #2732). FossilOrigin-Name: b8dd90a438323cdac5381a5480ce86ca7c9d4c83
* * generic/tclClock.c: Changed switch in Tcl_ClockObjCmd to useericm2000-01-081-6/+12
| | | | | | | enumerated values instead of constants. (ie, COMMAND_SCAN instead of 3). FossilOrigin-Name: a779ec2b6d48fa7dda68cf53d1458698d5490d7d
* * generic/tclCmdIL.c: added -unique option to lsorthobbs1999-12-214-21/+47
| | | | | | * generic/tclThreadTest.c: changed thread ids to longs [Bug: 3902] FossilOrigin-Name: 473262218eb6ca36ad27491f313c7eb07273bbd5
* * doc/glob.n:hobbs1999-12-126-72/+502
| | | | | | | | | | | | | | | | | | * tests/fileName.test: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclEncoding.c: * generic/tclFileName.c: * mac/tclMacFile.c: * unix/tclUnixFile.c: * win/tclWinFile.c: enhanced the glob command with the new options -types -path -directory and -join. Deprecated TclpMatchFiles with TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added GlobTypeData structure. FossilOrigin-Name: c20c742c78c750b08e303e5277f5e5800cd9f65b
* * tests/var.test:hobbs1999-12-129-72/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCompile.c: fixed problem where setting to {} array would intermittently not work. (Fontaine) [Bug: 3339] * generic/tclCmdMZ.c: * generic/tclExecute.c: optimized INST_TRY_CVT_TO_NUMERIC to recognize boolean objects. (Spjuth) [Bug: 2815] * tests/info.test: * tests/parseOld.test: * generic/tclCmdAH.c: * generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg case as well, to take advantage of potential pure list input optimization. This means that it won't get byte compiled though, which should be acceptable. * generic/tclBasic.c: made Tcl_EvalObjEx pure list object aware in the TCL_EVAL_DIRECT case for efficiency. * generic/tclUtil.c: made Tcl_ConcatObj pure list object aware, and return a list object in that case [Bug: 2098 2257] * generic/tclMain.c: changed Tcl_Main to not constantly reuse the commandPtr object (interactive case) as it could be shared. (Fellows) FossilOrigin-Name: a887ecceee0733a287a08841a1099a4d75809d6d
* * generic/tclDate.c:hobbs1999-12-083-24/+26
| | | | | | | | | | | | | | * unix/Makefile.in: fixed make gendate to swap const with CONST so it uses the Tcl defined CONST type [Bug: 3521] * generic/tclIO.c: removed panic that could occur in FlushChannel when a "blocking" channel would receive EAGAIN, instead treating it the same as non-blocking. [Bug: 3773] * generic/tclUtil.c: fixed Tcl_ScanCountedElement to not step beyond the end of the counted string [Bug: 3336] FossilOrigin-Name: b39a92cac1dd381b762fa8e78a40042bb2ea77c3
* check for whitespace after bad octalshobbs1999-12-041-1/+4
| | | FossilOrigin-Name: 16f0a0d493c12c560166ade4d42feb56b6e30637
* * tests/expr-old.test:hobbs1999-12-047-363/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling. * tests/expr.test: * generic/tclCompile.c: fixed 'bad code length' error for 'expr + {[incr]}' case, with new test case [Bug: 3736] and seg fault on 'expr + {[error]}' (different cause) that was caused by a correct optimization that didn't correctly track how it was modifying the source string in the opt. The optimization was removed, which means that: expr 1 + {[string length abc]} will be not be compiled inline as before, but this should be written: expr {1 + [string length abc]} which will be compiled inline for speed. This prevents expr 1 + {[mindless error]} from seg faulting, and only affects optimizations for degenerate cases [Bug: 3737] FossilOrigin-Name: bc2b85b9c25cb34899d95dc05eed84694149d3ba
* * generic/tcl.decls :redman1999-12-026-99/+177
| | | | | | | | | | | | | | | | * generic/tclMain.c : * unix/tclAppInit.c: * win/tclAppInit.c: Added two new internal functions, TclSetStartupScriptFileName() and TclGetStartupScriptFileName() and added hooks into the main() code for supporting TclPro and other "big" shells more easily without requiring a copy of the main() code. * generic/tclEncoding.c: * generic/tclEvent.c: Moved encoding-related startup code from tclEvent.c into the more appropriate tclEncoding.c. FossilOrigin-Name: cafaa4d04661ff95bf15eaa7e7562cef869a8258
* * generic/tclIO.c: fix from Kupries for Tcl_UnstackChannel thathobbs1999-12-011-54/+87
| | | | | | correctly handles resetting translation and encoding. FossilOrigin-Name: 83cb927173deac7124618cddab580299e132aad9
* * generic/tclLoad.c: #def'd out the unloading of DLLs at finalizehobbs1999-12-011-1/+9
| | | | | | | time for Unix in TclFinalizeLoad. [Bug: 2560 3373] Should be parametrized to allow for user to specify unload or not. FossilOrigin-Name: 049dffa868915030187db9da16d87aecfa9e2642
* * tests/scan.test:hobbs1999-11-301-1/+7
| | | | | | | * generic/tclScan.c: fixed scan where %[..] didn't match anything and added test case [Bug: 3700] FossilOrigin-Name: 27ebd6ad86e7098995c815fc6832a0517ddfc46b
* * generic/tclCmdIL.c: made SORTMODE_INTEGER work with Longshobbs1999-11-241-4/+4
| | | | | | [Bug: 3652] FossilOrigin-Name: 07f78f991f28ca204d36cb2e1115e83e443fd6b0
* * generic/tclProc.c: backed out change from 1999-11-18 as ithobbs1999-11-191-4/+4
| | | | | | could affect return string from upvar as well. FossilOrigin-Name: 10917802fdac6d739c30799ca12a2e3962fe488e
* * generic/tclProc.c: corrected error reporting for default casehobbs1999-11-197-33/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at the global level for uplevel command. * generic/tclIOSock.c: changed int to size_t type for len in TclSockMinimumBuffers. * generic/tclCkalloc.c: fixed Tcl_DbCkfree to return a value on NULL input. [Bug: 3400] * generic/tclStringObj.c: fixed support for passing in negative length to Tcl_SetUnicodeObj, et al handling routines. [Bug: 3380] * doc/scan.n: * tests/scan.test: * generic/tclScan.c: finished support for inline scan by supporting XPG identifiers. * doc/http.n: * library/http2.1/http.tcl: added register and unregister commands to http:: package (better support for tls/SSL), as well as -type argument to http::geturl. [RFE: 2617] * generic/tclBasic.c: removed extra decr of numLevels in Tcl_EvalObjEx that could cause seg fault. (mjansen@wendt.de) * generic/tclEvent.c: fixed possible lack of MutexUnlock in Tcl_DeleteExitHandler [Bug: 3545] FossilOrigin-Name: 907f606957a5b4abeaf4a1331ba2e63f73b0a4ea
* * generic/tclIOUtil.c: changed Tcl_Alloc to ckallochobbs1999-11-104-77/+173
| | | | | | | | | | | * generic/tclInt.h: * generic/tclObj.c: rolled back changes from 1999-10-29 Purify noted new leaks with that code * generic/tclParse.c: added code in Tcl_ParseBraces to test for possible unbalanced open brace in a comment FossilOrigin-Name: 4cf2e06b0aea95bd879323aa6390231e56e8fc9f
* Cleanup of the TclNewObj family of macros, and elimination of thewelch1999-10-302-133/+72
| | | | | | | special Tcl_Obj memory allocator for the TCL_THREADS case, because this only adds lock contention. FossilOrigin-Name: cdb2cc1c305f74edf620927a0253a3d831c97cf8
* removed // comments (IBM's AIX compiler complained)hobbs1999-10-291-4/+1
| | | FossilOrigin-Name: 31e3344b893730c3b4f3a3a6088b26e30b040f84
* * generic/tclStringObj.c: fixed Tcl_AppendResultVA so it onlyhobbs1999-10-296-49/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | iterates once over the va_list (avoiding a memcpy of it, which is not portable). * generic/tclEnv.c: fixed possible ABR error in environ array * tests/scan.test: * generic/tclScan.c: added support for use of inline scan, XPG3 currently not included * tests/incr.test: * tests/set.test: * generic/tclCompCmds.c: fixed improper bytecode handling of 'eval {set array($unknownvar) 5}' (also for incr) * win/tclWinTest.c: added testvolumetype command, as atime is completely ignored for Windows FAT file systems * win/tclWinPort.h: added sys/utime.h to includes * unix/tclUnixPort.h: added utime.h to includes * doc/file.n: * tests/cmdAH.test: * generic/tclCmdAH.c: added time arguments to atime and mtime file command methods (support 'touch' functionality) FossilOrigin-Name: 2c17586d2ad8c1b9d303ea5d8ab2568a9ce5542e
* * unix/tclUnixNotfy.c: fixed event/io threading problems byhobbs1999-10-215-36/+136
| | | | | | | | | | | | | | | | | | | | | | making triggerPipe non-blocking * library/tcltest1.0/tcltest.tcl: * generic/tclThreadTest.c: fixed mem leaks in threads * generic/tclResult.c: fixed Tcl_AppendResultVA so it only iterates once over the va_list (avoiding a memcpy of it, which is not portable). * generic/regc_color.c: fixed mem leak and assertion, from HS * generic/tclCompile.c: removed savedChar trick that appeared to be causing a segv when the literal table was released * tests/string.test: * generic/tclCmdMZ.c: fixed [string index] to return ByteArrayObj when indexing into one (test case string-5.16) [Bug: 2871] FossilOrigin-Name: 1a3cca95e40ce5a3da207f356810b264e211a9c1
* * generic/regc_color.c:hobbs1999-10-1312-140/+125
| | | | | | | | | | | | | | | | | | * generic/regc_cvec.c: * generic/regc_lex.c: * generic/regc_locale.c: * generic/regcomp.c: * generic/regcustom.h: * generic/regerrs.h: * generic/regex.h: * generic/regexec.c: * generic/regguts.h: * generic/tclRegexp.c: * generic/tclTest.c: * tests/reg.test: updated to Henry Spencer's new regexp engine (mid-Sept 99). Should greatly reduce stack space reqs. FossilOrigin-Name: 801921c81830b2e88cf056e287360955dcd7d0cb
* * generic/tclEnv.c: fixed mem leak with putenv and DStringshobbs1999-10-132-22/+17
| | | FossilOrigin-Name: 7232e516554842ccc26c572e157a5c1f56117e9c
* * generic/tclNamesp.c:hobbs1999-10-054-58/+56
| | | | | | | | | * generic/tclVar.c: * generic/tclCmdIL.c: fixed comment typos * generic/tcl.h: * library/init.tcl: updated to 8.3a1 from 8.2.0. FossilOrigin-Name: a7746482839660c0054706ed2b09d04306505a58
* 1999-09-16 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-2111-173/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/timer.test: changed after delay in timer test 6.29 from 1 to 10. [Bug: 2796] * tests/pkg.test: * generic/tclPkg.c: fixed package version check to disallow 1.2..3 [Bug: 2539] * unix/Makefile.in: fixed gendate target - this never worked since RCS was intro'd. * generic/tclGetDate.y: updated to reflect previous changes to tclDate.c (leap year calc) and added CEST and UCT time zone recognition. Fixed 4 missing UCHAR() casts. [Bug: 2717, 954, 1245, 1249] * generic/tclCkalloc.c: changed Tcl_DumpActiveMemory to really dump to stderr and close it [Bug: 725] and changed Tcl_Ckrealloc and Tcl_Ckfree to not bomb when NULL was passed in [Bug: 1719] and changed Tcl_Alloc, et al to not panic when a alloc request for zero came through and NULL was returned (valid on AIX, Tru64) [Bug: 2795, etc] * tests/clock.test: * doc/clock.n: * generic/tclClock.c: added -milliseconds switch to clock clicks to guarantee that the return value of clicks is in the millisecs granularity [Bug: 2682, 1332] 1999-09-15 Jeff Hobbs <hobbs@scriptics.com> * generic/tclIOCmd.c: fixed potential core dump in conjunction with stacked channels with result obj manipulation in Tcl_ReadChars [Bug: 2623] * tests/format.test: * generic/tclCmdAH.c: fixed translation of %0#s in format [Bug: 2605] * doc/msgcat.n: fixed \\ bug in example [Bug: 2548] * unix/tcl.m4: * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix for IRIX SHLIB_LB_LIBS. [Bug: 2610] * doc/array.n: * tests/var.test: * tests/set.test: * generic/tclVar.c: added an array unset operation, with docs and tests. Variation of [Bug: 1775]. Added fix in TclArraySet to check when trying to set in a non-existent namespace. [Bug: 2613] 1999-09-14 Jeff Hobbs <hobbs@scriptics.com> * tests/linsert.test: * doc/linsert.n: * generic/tclCmdIL.c: fixed end-int interpretation of linsert to correctly calculate value for end, added test and docs [Bug: 2693] * doc/regexp.n: * doc/regsub.n: * tests/regexp.test: * generic/tclCmdMZ.c: add -start switch to regexp and regsub with docs and tests * doc/switch.n: added proper use of comments to example. * generic/tclCmdMZ.c: changed switch to complain when an error occurs that seems to be due to a misplaced comment. * generic/tclCmdMZ.c: fixed illegal ref for \[0-9] substitutions in regsub [Bug: 2723] * generic/tclCmdMZ.c: changed [string equal] to return an Int type object (was a Boolean) FossilOrigin-Name: eb68adcdfd2b621fe83410354568df693c95a1fc
* 1999-09-01 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-09-023-15/+25
| | | | | | | | | | | | | | | * generic/tclParseExpr.c: changed '"' to '\"' to make FreeBSD happy [Bug: 2625] * generic/tclProc.c: moved static buf to better location and changed static msg that would overflow in ProcessProcResultCode [Bug: 2483] and added Tcl_DStringFree to Tcl_ProcObjCmd. Also reworked size of static buffers. * tests/stringObj.test: added test 9.11 * generic/tclStringObj.c: changed Tcl_AppendObjToObj to properly handle the 1-byte dest and mixed src case where both had had Unicode string len checks made on them. [Bug: 2678] FossilOrigin-Name: dc02bb24c964af4716603ae9d14a3325d3ff77ea
* 1999-08-20 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-211-2/+2
| | | | | | * generic/tclPosixStr.c: fixed typo [Bug: 2592] FossilOrigin-Name: bd454873887eb7d724b770e2ff241c6e2bd17429
* 1999-08-19 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-191-3/+6
| | | | | | | * generic/tclIO.c: changed Tcl_GetChannelNames* to use K&R style headers (style guide, also pleases HP cc) FossilOrigin-Name: 769c31641d37c43815af475054b2bdbfeb6805a8
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-1911-33/+81
| | | | | | | | | | | | | | | | * doc/OpenFileChnl.3: * doc/file.n: * tests/cmdAH.test: * tclIO.c: * tclCmdAH.c: added "file channels ?pattern?" tcl command, with associated Tcl_GetChannelNames and Tcl_GetChannelNamesEx public C APIs (added to tcl.decls as well), with docs and tests. * generic/tclCompile.c: add TCL_TOKEN_VARIABLE to the part types that cause differed compilation for exprs, to correct the expr double-evaluation problem for vars. Added test cases. FossilOrigin-Name: fb64d24b32ff3d05e496d1eab420ef8b4f46b30b