summaryrefslogtreecommitdiffstats
path: root/mac/tclMacAlloc.c
Commit message (Collapse)AuthorAgeFilesLines
* 2001-05-04 Daniel Steffen <das@users.sourceforge.net>das2001-05-171-55/+119
| | | | | | | | | | | | | | | | | | | | | | | ** Mac 8.3.3 binary release * mac/tclMacAlloc.c: modernized TclpSysAlloc() to use temporary memory instead of system heap memory when available (MacOS >= 7.5 and possibly earlier, use of system heap has been discouraged for a long time and has many disadvantages, e.g. memory isn't paged out, and errors can very easily bring the system down); fixed crashing bug in TclpSysRealloc() and CleanUpExitProc() where memory was being accessed after having been deallocated; fixed memory leak in (de)allocation code (for every block ever allocated with TclpSysAlloc, a Ptr was leaked), if temporary memory is available, don't track allocated memory, instead use RecoverHandle() to get Handle from Ptr, otherwise use doubly linked list to correctly track memory and free all allocated memory; added new option for ConfigureMemory: MEMORY_DONT_USE_TEMPMEM, disables use of temporary memory even when it would be available, only necessary when writing e.g. a driver (using tcl??); increased fraction of application heap reserved for OS routines to 512K FossilOrigin-Name: 1b4e7a6a18130133eaf2170096b65a276bc48c01
* Various small fixes that were required to get Tcl to build cleanly on the Mac.jingham1999-05-111-2/+2
| | | FossilOrigin-Name: 7ef207299516344d508a5d98f1cc86270353b05a
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* plugin updateswelch1998-06-271-3/+11
| | | FossilOrigin-Name: 594ce53543ab0e1e09fe7eabec3e198a06256812
* Initial revisionrjohnson1998-03-261-0/+340
FossilOrigin-Name: cacdd0f329872d67973970d74c6978730bc24baa