summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c, generic/tclClock.c, generic/tclEncoding.c,dkf2010-10-011-21/+25
| | | | | | | | * generic/tclEnv.c, generic/tclLoad.c, generic/tclNamesp.c, * generic/tclObj.c, generic/tclRegexp.c, generic/tclResolve.c, * generic/tclResult.c, generic/tclUtil.c, macosx/tclMacOSXFCmd.c: More purging of strcpy() from locations where we already know the length of the data being copied.
* Don't use arrays of length 1, just use a single element then, it makes code ↵nijtmans2010-05-191-4/+4
| | | | more readable.
* * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-021-51/+20
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c:
* Code Audit results:dkf2010-03-051-7/+7
| | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations
* CONSTify TclGetLoadedPackages second paramnijtmans2008-12-191-10/+10
|
* Implement TIP#307.dkf2008-12-051-3/+3
|
* rename static function FSUnloadTempFile tonijtmans2008-11-131-4/+7
| | | | | | TclFSUnloadTempFile, needed in tclLoad.c Fixed [Bug 2269431]: load of shared objects leaves temporary files on windows
* Add "const" to many internalnijtmans2008-10-161-2/+2
| | | | | const tables. No functional or API change.
* * generic/tclLoad.c: Make sure that any library whichnijtmans2008-10-041-3/+5
| | | | | doesn't have an unloadproc is only really unloaded when no library code is executed yet. [Bug 2059262]
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-211-2/+2
|
* Small clarifications that code a bit nicer to read.dkf2008-05-301-44/+36
|
* various "const" additions, in line with TIP #27nijtmans2007-02-201-8/+9
|
* Convert to using ANSI decls/definitions and using the (ANSI) assumption that ↵dkf2005-10-311-93/+88
| | | | | | NULL can be cast to any pointer type transparently.
* Getting more systematic about styledkf2005-07-171-219/+220
|
* fixed typos in documentation and commentsvincentdarley2004-03-091-2/+2
|
* Missed a pointer dereference in check for NULL. D'oh! [904307]dkf2004-02-251-2/+2
|
* TIP#100 implementation largely based on work by Georgios Petasis.dkf2004-02-241-15/+490
|
* Fix memory leak on error pathdkf2004-02-211-2/+3
|
* * generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage Kevin B Kenny2003-02-011-18/+40
| | | | | | | | | is called to report the same package as being loaded in two interps, it shows up in [info loaded {}] in both of them (previously, it didn't appear in the static package list in the second. * tests/load.test Added regression test for the above bug. [Bug 670042]
* removed load-related clientData, made filesystem staticvincentdarley2002-07-221-8/+8
|
* Updated APIs in the files */tcl*Load*.c according to the guidelinesKevin B Kenny2002-01-091-2/+2
| | | | of TIP 27.
* fs updatevincentdarley2001-08-231-7/+10
|
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* * 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.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-117/+136
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+636