time_t when used as timedelta

2012-10-09 Thread Erik Cederstrand
Hi list, I'm looking at this possible divide-by zero in dhclient: http://scan.freebsd.your.org/freebsd-head/WORLD/2012-10-07-amd64/report-nBhqE2.html.gz#EndPath In this specific case, it's obvious from the intention of the code that ip-client-interval is always 0, but it's not obvious to me in

Re: time_t when used as timedelta

2012-10-09 Thread Ian Lepore
On Tue, 2012-10-09 at 17:35 +0200, Erik Cederstrand wrote: Hi list, I'm looking at this possible divide-by zero in dhclient: http://scan.freebsd.your.org/freebsd-head/WORLD/2012-10-07-amd64/report-nBhqE2.html.gz#EndPath In this specific case, it's obvious from the intention of the code