Overview
| Artifact ID: | 2f1f6da7a151d86a68e3b8e540635d2d850ded5d20c5c5b8d97be4a13ccc17e9 |
|---|---|
| Ticket: | 1178806fffffffffffffffffffffffffffffffff
purge strtod() support |
| User & Date: | dgp on 2019-06-03 15:57:32 |
Changes
- assignee changed to: "dgp"
- closedate changed to: "2458638.16495398"
- closer changed to: "dgp"
- comment changed to:
the kennykb-numerics-branch has replaces all calls to strtod() with calls to TclStrToD(). With that done, many configuration operations, and some work in the callers can be purged now that we are calling a known routine with known properties. We can purge a fair bit of safety code that is in place for protection against variations in strtod(). Attached patch does that. For future consideration, note that both Tcl_ScanObjCmd() and GetLexeme() (in tclParseExpr.c) are forced to do some string copying to provide TclStrToD() with a NULL-terminated string to parse. An alternative interface that allowed for passing a counted string instead could save us some copying.
- icomment:
Overtaken by events. https://core.tcl-lang.org/tcl/info/8bdef976bf124dce
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- severity changed to: "Minor"
- status changed to: "Closed"