Overview
| Artifact ID: | 3a679273e40a7bf52d8a29cae0e4355b7703ccde184315330353b4c57a9ebebb |
|---|---|
| Ticket: | 9899c273abcb1830ec7d217f577765b1db336f83
Tcl_InitStringRep design issues |
| User & Date: | jan.nijtmans on 2025-05-02 09:53:40 |
Changes
- closer changed to: "nobody"
- icomment:
It looks like this 'redesign' is only partially done. Yes, Tcl_InitStringRep can now handle allocation failures by returning NULL, but many callers of this function don't check for the NULL value. In other words: Tcl_InitStringRep() behaves like Tcl_AttemptInitStringRep(). This is OK, but callers should translate this NULL to either a panic or a proper error-handling. I'll have a look.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Open"