Overview
| Artifact ID: | d70797b96fea6f60c23ae70bad859ac0fce5ef12 |
|---|---|
| Ticket: | 1023779fffffffffffffffffffffffffffffffff
Some tests from clock.test fail under XP |
| User & Date: | kennykb on 2004-09-08 23:11:13 |
Changes
- closedate changed to: "2004-09-08T16:11:13"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 The clock-34.* tests were hitting a truly weird problem. The legacy [clock scan] uses the C library to determine whether the date in question is in summer or winter time (and, in fact, to do all the time conversions). The strftime and mktime routines in the VC (and presumably Borland) libraries have a missing feature that they can't cope with changes of the rules. Back in 1992, Summer Time ended in the EU on the last Sunday of September, but the C library incorrectly applies the current rule to the historic time. The fix in the test cases is to use -timezone :localtime, so that both input and output conversions use the C library code, and that's what I've done. But what would really be desirable is to refactor TclGetDate so that the Convert procedure is eliminated and the raw fields from the YACC parse are returned. The problem is greatly complicated by the fact that 'make gendate' is broken again - as far as I can tell, it does not even work on Solaris any more. So before I can tackle that one, I need to revise the build system for TclGetDate yet again. Oh, joy. In any case, the test failures are silenced, so I'm closing this bug.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "kennykb"