|
2006-09-30
| ||
| 08:13 | • Closed ticket [1096260fff]: Tcl_(Attempt)SetObjLength return codes non-standard<... artifact: a38d953708 user: msofer | |
|
2005-01-05
| ||
| 06:51 | • New ticket [1096260fff]. artifact: 245b788dd0 user: muonics | |
Tcl_(Attempt)SetObjLength return codes non-standard
Closed / Invalid1096260fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 20 years ago
Descriptionplain2005-01-05 06:51:03
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
msofer Closed ticket [1096260fff].
[History diff]2006-09-30 08:13:37
Log in (anonymous is fine) to add a comment.