|
2012-04-12
| ||
| 04:12 | • Closed ticket [3514475fff]: remove TclpGetTimeZone and TclpGetTZName plus 8 ... artifact: 8f4a0b7300 user: nijtmans | |
|
2012-04-03
| ||
| 18:00 | • Ticket [3514475fff]: 5 changes artifact: 1397ce7975 user: nijtmans | |
| 09:36 | • New ticket [3514475fff]. artifact: 1622f10289 user: nijtmans | |
remove TclpGetTimeZone and TclpGetTZName
Closed / Fixed3514475fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2012-04-03 09:36:35
In bug fix [1163422]: "FormatClock clockVal size mismatch", (Kevin Kenny, 2005-03-15) the signature of the function TclpGetTimeZone was changed. The argument of this function was changed from unsigned long to Tcl_WideInt, which is binary incompatible. This signature change was done in the core-8-4-branch only, in core-8-5-branch and trunk the argument is still unsigned long. So that's binary incompatible (that's what this bug is about) and it means that bug 1163422 is only fixed in core-8-4-branch, not in core-8-5-branch and trunk. The question is, how bad is this. Answer: not bad at all, because apparently no extension uses this. Tcl 8.5 has a new clock implementation in which the functions TclpGetTimeZone and TclpGetTZName are no longer used. TclpGetTZName was for mac and win only, so this function is not portable anyway. So, the solution is simple: remove those two functions completely for Tcl 8.6. (I already implemented TclpGetTZName for Cygwin, but this change means that that's no longer necessary, so I plan to remove this cygwin implementation in the core-8-4-branch and core-8-5-branch as well). Any objections?
nijtmansplain2012-04-03 18:00:40
Kevin, can you agree with this? (code committed to branch bug-3514475) If so, you can assign it back to me, then I will merge this branch to trunk. Thanks!
nijtmansplain2012-04-12 04:12:44
Fixed in trunk (assuming silence means agreement)
Log in (anonymous is fine) to add a comment.