Overview
| Artifact ID: | b7c49c24b2b1039746229d31145c39a8a22e09bd |
|---|---|
| Ticket: | 656765ffffffffffffffffffffffffffffffffff
formatClock/cygwin compile fix |
| User & Date: | winstan on 2004-02-13 02:37:32 |
Changes
- icomment:
Logged In: YES user_id=972673 --- tcl8.4.5/generic/tclClock.c2003-02-01 +++ tcl8.4.5-fix/generic/tclClock.c2004-02-12 @@ -311,8 +311,13 @@ savedTZEnv = NULL; } Tcl_SetVar2(interp, "env", "TZ", "GMT", TCL_GLOBAL_ONLY); +#if !defined(__CYGWIN__) savedTimeZone = timezone; timezone = 0; +#else + savedTimeZone = _timezone; + _timezone = 0; +#endif tzset(); } #endif @@ -357,7 +362,11 @@ } else { Tcl_UnsetVar2(interp, "env", "TZ", TCL_GLOBAL_ONLY); } +#if !defined(__CYGWIN__) timezone = savedTimeZone; +#else + _timezone = savedTimeZone; +#endif tzset(); } Tcl_MutexUnlock( &clockMutex ); - login: "winstan"
- mimetype: "text/plain"
- username: "winstan"