Artifacts Associated With Ticket 497459ffffffffff
Ticket change [f573613479] (rid 130108) by dgp on 2001-12-28 23:48:56:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
There are a few places in Tcl's documentation where the routines ckalloc() and ckfree() are mentioned. However, these synonyms for Tcl_Alloc() and Tcl_Free() are not themselves documented anywhere. I propose to document them in the Tcl_Alloc man page as deprecated synonyms [*], then to update all references from ckalloc -> Tcl_Alloc and ckfree -> Tcl_Free. Patch coming soon. [*] following the example of panic() and Tcl_Panic().
- foundin initialized to: "obsolete: 8.4a4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "41. Memory Allocation"
- title initialized to: "document and deprecate ckalloc/ckfree"
- type initialized to: "Bug"
Ticket change [4b633fc511] (rid 126704) by dgp on 2001-12-29 07:14:22:
- icomment:
Logged In: YES user_id=80530 Deprecation might not be the right idea after all. Using ckalloc() instead of Tcl_Alloc() appears to be the only way to get __FILE__ and __LINE__ data into the memory reports produced when TCL_MEM_DEBUG is enabled. All the more reason to get them documented I guess...
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [208ba8b603] (rid 130444) by dgp on 2002-01-04 22:21:02:
- icomment:
Logged In: YES user_id=80530 Note that ckalloc() and ckfree() are not in Tcl's public stub table. It appears one must choose between supporting stubs and supporting memory debugging in their extension. Is that right? Is that as it should be?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [e5a1d9ea11] (rid 104153) by dgp on 2002-01-04 22:27:14:
- icomment:
Logged In: YES user_id=80530 Never mind on that last point. ckalloc(), ckfree(), etc. are always macros -- whether or not things are stub-enabled. ckalloc() resolves to Tcl_Alloc or Tcl_DbCkalloc and both of those are in the stub table.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [b76c26c313] (rid 125594) by dgp on 2002-01-05 00:47:06:
- icomment:
Logged In: YES user_id=80530 Here's a patch that updates to documentation to cover ckalloc, ckfree, etc.
- login: "dgp"
- mimetype: "text/plain"
- title changed to: "document ckalloc/ckfree"
- username: "dgp"
- icomment:
Add attachment "alloc.patch" [80466ef3f0] (rid 97712) by dgp on 2002-01-05 00:47:07.
Ticket change [3ff83e039e] (rid 121550) by dgp on 2002-01-05 00:47:07:
- icomment:
File Added - 15482: alloc.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [071c15385c] (rid 89330) by hobbs on 2002-02-26 09:23:56:
- closedate changed to: "2002-02-26T02:23:56"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 I patched all but the following files, as I felt the other changes were really not necessary for the average user (and potentially confusing). Just knowing about Tcl_Alloc is good for 99.5% of users. +* doc/Concat.3: +* doc/CrtMathFnc.3: +* doc/Hash.3: +* doc/Interp.3: +* doc/SetResult.3: +* doc/SplitList.3: +* doc/SplitPath.3:
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"