|
2004-04-03
| ||
| 03:59 | • Ticket [928511ffff] tests scan-11.x refer to TCL_ALIGN() status still Closed... artifact: 4ce2d536ec user: msofer | |
| 03:55 | • Closed ticket [928511ffff]. artifact: fa3879383a user: dkf | |
|
2004-04-02
| ||
| 20:19 | • New ticket [928511ffff]. artifact: 10d06867cb user: msofer | |
tests scan-11.x refer to TCL_ALIGN()
Closed / Rejected928511ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-04-02 20:19:57
The comments to tests scan-11.x refer to TCL_ALIGN(); this macro is not used in the implementation of [scan], and is not even defined in current tcl. The test comments should be updated.
dkfplain2004-04-03 03:55:02
Logged In: YES user_id=79902 I disagree. Just because we don't have the bug now doesn't mean that we shouldn't check for it in case it comes back in the future. Regression test suites are places where cargo-cult programming is A Good Thing.
msoferplain2004-04-03 03:59:02
Logged In: YES user_id=148712 OK. For future refernce, copying over dkf's comments from bug 926445: In response to miguel's question, yes, the [scan] of Tcl 7.1 to 8.0 used TCL_ALIGN so it could use sscanf() internally - it allocated a temporary buffer that all sscanf() results were written to before being copied out into Tcl variables (either with conversion to strings or to objects, depending on whether you were in 7.* or 8.0). Everything was rewritten for 8.1 because sscanf() couldn't cope well with UTF-8 characters (or at least not on all platforms.)
Log in (anonymous is fine) to add a comment.