diff options
author | kennykb <kennykb@noemail.net> | 2001-04-10 15:39:58 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2001-04-10 15:39:58 (GMT) |
commit | 13b763632196cfe464d408373059926b01b9d15a (patch) | |
tree | 27e4c1be64f2846db8f007eafd6e2fddb4dc2c14 /unix/tclUnixTime.c | |
parent | b7289494c62324f7aad2032f84712b29e63dbb19 (diff) | |
download | tcl-13b763632196cfe464d408373059926b01b9d15a.zip tcl-13b763632196cfe464d408373059926b01b9d15a.tar.gz tcl-13b763632196cfe464d408373059926b01b9d15a.tar.bz2 |
Fixed silly typo in calls to 'gmtime' and 'localtime'.
FossilOrigin-Name: 436fdc174bef6e4cfd4f9166ccf7ad938f959342
Diffstat (limited to 'unix/tclUnixTime.c')
-rw-r--r-- | unix/tclUnixTime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c index b0c5e9f..de07aa3 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.8 2001/04/09 23:02:21 kennykb Exp $ + * RCS: @(#) $Id: tclUnixTime.c,v 1.9 2001/04/10 15:39:59 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; |