diff options
author | bch <brad.harder@gmail.com> | 2014-11-25 19:25:27 (GMT) |
---|---|---|
committer | bch <brad.harder@gmail.com> | 2014-11-25 19:25:27 (GMT) |
commit | 829eeaf7be8c43d5616693d0da4a864c1c6a6807 (patch) | |
tree | c090ec0f06b1552b2a3bab56272ef6ba3eb69103 /unix/tclUnixTime.c | |
parent | ed2bce56ae44d9652b33027388381c4ea867453a (diff) | |
parent | 33eb2510ff53b7fd3b32ea1c84b4ef85d00c10f8 (diff) | |
download | tcl-bch_coverity.zip tcl-bch_coverity.tar.gz tcl-bch_coverity.tar.bz2 |
merge [e11d223695c5468b1bfb3db35ebf54856501fdf0], specifically for ./generic/tclExecute.c work (properly addresses coverity bug). Thx dgp.bch_coverity
Diffstat (limited to 'unix/tclUnixTime.c')
-rw-r--r-- | unix/tclUnixTime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixTime.c b/unix/tclUnixTime.c index 4452022..315bcf9 100644 --- a/unix/tclUnixTime.c +++ b/unix/tclUnixTime.c @@ -199,7 +199,7 @@ TclpWideClicksToNanoseconds( #ifdef MAC_OSX_TCL static mach_timebase_info_data_t tb; static uint64_t maxClicksForUInt64; - + if (!tb.denom) { mach_timebase_info(&tb); maxClicksForUInt64 = UINT64_MAX / tb.numer; |