summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTime.c
diff options
context:
space:
mode:
authorkennykb <kennykb@noemail.net>2001-04-10 15:43:47 (GMT)
committerkennykb <kennykb@noemail.net>2001-04-10 15:43:47 (GMT)
commit861ed4e2508a2c5b1112c0a27abd07296fecc7ca (patch)
tree282e6ca35f3c81f3b9d16eecaa76fec2051fd40a /unix/tclUnixTime.c
parent13b763632196cfe464d408373059926b01b9d15a (diff)
downloadtcl-861ed4e2508a2c5b1112c0a27abd07296fecc7ca.zip
tcl-861ed4e2508a2c5b1112c0a27abd07296fecc7ca.tar.gz
tcl-861ed4e2508a2c5b1112c0a27abd07296fecc7ca.tar.bz2
Oops. Committed the wrong copy of the source with the last commit five
minutes ago. FossilOrigin-Name: b6db3ba81ccb81ec35536d9b0716163ef9a1b520
Diffstat (limited to 'unix/tclUnixTime.c')
-rw-r--r--unix/tclUnixTime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c
index de07aa3..dd07166 100644
--- a/unix/tclUnixTime.c
+++ b/unix/tclUnixTime.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixTime.c,v 1.9 2001/04/10 15:39:59 kennykb Exp $
+ * RCS: @(#) $Id: tclUnixTime.c,v 1.10 2001/04/10 15:43:48 kennykb Exp $
*/
#include "tclInt.h"
@@ -368,7 +368,7 @@ ThreadSafeGMTime( timePtr )
gmtime_r( timePtr, tmPtr );
#else
Tcl_MutexLock( & tmMutex );
- *tmPtr = *gmtime( timePtr );
+ *tmPtr = *( gmtime( timePtr ) );
Tcl_MutexUnlock( &tmMutex );
#endif
return tmPtr;
@@ -409,7 +409,7 @@ ThreadSafeLocalTime( timePtr )
localtime_r( timePtr, tmPtr );
#else
Tcl_MutexLock( & tmMutex );
- *tmPtr = *localtime( timePtr );
+ *tmPtr = *( localtime( timePtr ) );
Tcl_MutexUnlock( &tmMutex );
#endif
return tmPtr;