NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/45257 CVS commit: src/sbin/ping



The following reply was made to PR bin/45257; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: christos%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: PR/45257 CVS commit: src/sbin/ping
Date: Sat, 20 Aug 2011 23:43:28 +0900

 > Removing (uint32_t) cast from diffsec() makes it work again,
 > so probably we have to check all callers of diffsec().
 
 At least doit() expects diffsec() could return negative value
 (to check "expired").
 
 Probably we need an independent diffsec function for round-trip time
 which is the only user of 32bit tv_sec and will never be negative?
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index