Overview
| Artifact ID: | 403557b9f1543bacb68fa0f0745581d008a7dfad |
|---|---|
| Ticket: | 1163422fffffffffffffffffffffffffffffffff
FormatClock clockVal size mismatch |
| User & Date: | hobbs on 2005-03-16 08:25:23 |
Changes
- icomment:
Logged In: YES user_id=72656 OK, we could be more screwed than I thought. The Tcl_Time public struct defined in tcl.h uses *longs*, not time_t (argh - why!!!!). This may affect some of the time accuracy. However, the following single change was all that was required to make the -1 case work on Win64-ia64: win/tclWinTime.c: @@ -581,7 +581,7 @@ { const time_t *tp = (const time_t *) t; struct tm *tmPtr; - long time; + time_t time; if (!useGMT) { tzset(); Can you confirm that "reliability" of that fix? I honed in on that when I noticed that using -gmt 1 to clock format didn't have an issue (at least with your interim patch), but -gmt 0 still did. - login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"