From 3e666656dc9ac50dd3bf36d35d70c403dd860c9f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 16 Mar 2022 20:06:49 -0400 Subject: main: Use difftime() instead of comparing time_t C99 ยง 7.23.1 defines time_t as an "arithmetic [type] capable of representing times" with "implementation-defined" "range and precision of times representable". It doesn't require that time1 > time0 for time1 later than time0. See also: http://computer-programming-forum.com/47-c-language/8d7dec65bd1ddafe.htm --- (limited to 'NEWS') -- cgit v0.9.1