Skip to content
Tcl Source Code Artifact [81591c08da]
Login

Artifact [81591c08da]

Artifact 81591c08da19d3e17ed76e699c39df237a00e2cc:

Attachment "tclClock.c.diff" to ticket [597728ffff] added by vasiljevic on 2002-08-20 19:32:45.
Index: tclClock.c
===================================================================
RCS file: /usr/local/CVS/dev/aolserver-3.4/tcl8.3.4/generic/tclClock.c,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 tclClock.c
292a293,295
>
>     Tcl_MutexLock(&clockMutex);
>
333c336
<     Tcl_MutexLock(&clockMutex);
---
> #ifndef HAVE_TM_ZONE
336,338d338
<     Tcl_MutexUnlock(&clockMutex);
<
< #ifndef HAVE_TM_ZONE
349c349,355
< #endif
---
>     Tcl_MutexUnlock(&clockMutex);
> #else
>     Tcl_MutexLock(&clockMutex);
>     result = TclpStrftime(buffer.string, (unsigned int) bufSize, format,
>           timeDataPtr);
>     Tcl_MutexUnlock(&clockMutex);
> #endif /* not defined HAVE_TM_ZONE */