diff options
author | hobbs <hobbs@noemail.net> | 2001-11-21 02:36:17 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2001-11-21 02:36:17 (GMT) |
commit | ad54418aa922f18d6b8407e93e661701f1b51f22 (patch) | |
tree | d6c9734d5b8944f4d96bc77057fc560b661f57c4 /unix/tclUnixChan.c | |
parent | 639e6f85d302a39301bac66f50bd50348f2891b7 (diff) | |
download | tcl-ad54418aa922f18d6b8407e93e661701f1b51f22.zip tcl-ad54418aa922f18d6b8407e93e661701f1b51f22.tar.gz tcl-ad54418aa922f18d6b8407e93e661701f1b51f22.tar.bz2 |
added TIP#73 patch #483500 from Kevin Kenny.
This deprecates TclpGetTime in favor of new Tcl_GetTime.
FossilOrigin-Name: ad0e26f63b8c18f13f7c0131933099e11df86010
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r-- | unix/tclUnixChan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index dbdf453..23bb599 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixChan.c,v 1.22 2001/10/25 15:50:49 dkf Exp $ + * RCS: @(#) $Id: tclUnixChan.c,v 1.23 2001/11/21 02:36:21 hobbs Exp $ */ #include "tclInt.h" /* Internal definitions for Tcl. */ @@ -2706,7 +2706,7 @@ TclUnixWaitForFile(fd, mask, timeout) */ if (timeout > 0) { - TclpGetTime(&now); + Tcl_GetTime(&now); abortTime.sec = now.sec + timeout/1000; abortTime.usec = now.usec + (timeout%1000)*1000; if (abortTime.usec >= 1000000) { @@ -2796,7 +2796,7 @@ TclUnixWaitForFile(fd, mask, timeout) * The select returned early, so we need to recompute the timeout. */ - TclpGetTime(&now); + Tcl_GetTime(&now); if ((abortTime.sec < now.sec) || ((abortTime.sec == now.sec) && (abortTime.usec <= now.usec))) { |