Overview
| Artifact ID: | 093d48e40673d4f4a351949145736c225e4a29ea |
|---|---|
| Ticket: | 1787846fffffffffffffffffffffffffffffffff
"wideInt" objType registration |
| User & Date: | dgp on 2007-09-05 00:51:56 |
Changes
- assignee changed to: "das"
- closedate changed to: "2007-09-04T17:51:56"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Originator: YES Thanks. Obviously I read my changelog messages before I read the chat log. The justifcation in "for the dumb guy" terms: ffidl contains Tcl_GetObjType() calls, but none of those calls check for the possibility of a NULL return value. Without that check, later testing against the saved return value can cause an "untyped" Tcl_Obj (objPtr->typePtr == NULL) to get treated as one of those types. There are ffidl binaries built from this source code out in the wild, and this bug will hit them unless the "wideInt" registration is restored to the HEAD. So, I accept the practical need to restore it, but I would very much like this bug in ffidl to be corrected so that when the next version binaries of ffidl make their way into the world, there's hope that someday we can follow through on our intent and remove this registration from Tcl. From the e-mail exchange: "...but the need to know (cheaply) if a given tcl object needs 64bit storage remains." I'd be interested in whether the internal routine TclGetNumberFromObj() would satisfy that need. That might be a good candidate to publicize for needs like this.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Pending"
- username: "dgp"