Overview
| Artifact ID: | 245b788dd014a987bfa000aaa2381425f3dd273a |
|---|---|
| Ticket: | 1096260fffffffffffffffffffffffffffffffff
Tcl_(Attempt)SetObjLength return codes non-standard |
| User & Date: | muonics on 2005-01-05 06:51:03 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
This may just be one of those things that can't ever be changed because it will break compatibility, but Tcl_SetObjLength and Tcl_AttemptSetObjLength return backwards result codes. From the manpage: "Tcl_AttemptSetObjLength will take no action and return 0 to indicate failure. If there is enough memory to satisfy the request, Tcl_AttemptSetObjLength behaves just like Tcl_SetObjLength and returns 1 to indicate success." From tcl.h: #define TCL_OK 0 #define TCL_ERROR 1 From hand to forehead: *smack* :P
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "muonics"
- subsystem changed to: "10. Objects"
- title changed to:
Tcl_(Attempt)SetObjLength return codes non-standard
- type changed to: "Bug"