Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2019-06-03
15:57 • Closed ticket [1178806fff]: purge strtod() support plus 9 other changes artifact: 2f1f6da7a1 user: dgp
2005-04-08
03:53 • Ticket [1178806fff]: 4 changes artifact: 2eaa1e25ad user: dgp
02:45 • Ticket [1178806fff]: 4 changes artifact: ccb1e98c37 user: dgp
02:45 • Add attachment purge.patch to ticket [1178806fff] artifact: ac34098e1e user: dgp
2005-04-07
19:45 • New ticket [1178806fff] purge strtod() support. artifact: 784014d8c3 user: dgp

purge strtod() support

Closed / Out of Date1178806fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 8 years ago
Descriptionplain2005-04-07 19:45:42
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.
dgpplain2005-04-08 02:45:43
File Added - 128970: purge.patch
dgpplain2005-04-08 03:53:09
Logged In: YES 
user_id=80530


in current form, this patch isn't
compatible with Tk.  More work
required.
dgpplain2019-06-03 15:57:32
Overtaken by events.

https://core.tcl-lang.org/tcl/info/8bdef976bf124dce
Log in (anonymous is fine) to add a comment.

Attachments: