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 <>
Subject: Re: PR/45257 CVS commit: src/sbin/ping
Date: Sat, 20 Aug 2011 23:23:40 +0900

 >  Modified Files:
 >      src/sbin/ping: ping.c
 >  Log Message:
 >  PR/45257: Ryo Shimizu: ping(8) prints bogus round-trip times after Year 2038
 >  Clamp all time computations to 32 bits; idea from dsl@
 This doesn't work (at least on i386):
 # ping -n -c 1
 PING ( 56 data bytes
 ping: poll: Invalid argument
 Removing (uint32_t) cast from diffsec() makes it work again,
 so probably we have to check all callers of diffsec().
 Izumi Tsutsui

Home | Main Index | Thread Index | Old Index