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: Ryo Shimizu <ryo%nerv.org@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: Sun, 21 Aug 2011 02:09:55 +0900

 I tested latest ping.c (rev1.96), it works after y2106,
 but doesn't work after y2038.
 
 # date
 Sat Aug 20 17:09:09 UTC 2011
 # ping localhost
 PING localhost (127.0.0.1): 56 data bytes
 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.020 ms
 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.027 ms
 ^C
 ----localhost PING Statistics----
 2 packets transmitted, 2 packets received, 0.0% packet loss
 round-trip min/avg/max/stddev = 0.020/0.024/0.027/0.005 ms
 
 
 # date 203801190314.08
 Tue Jan 19 03:14:08 UTC 2038
 # ping localhost
 PING localhost (127.0.0.1): 56 data bytes
 ping: poll: Invalid argument
 
 
 # date 210602070628.16
 Sun Feb  7 06:28:16 UTC 2106
 # ping localhost
 PING localhost (127.0.0.1): 56 data bytes
 64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.021 ms
 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.030 ms
 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.027 ms
 ^C
 ----localhost PING Statistics----
 3 packets transmitted, 3 packets received, 0.0% packet loss
 round-trip min/avg/max/stddev = 0.021/0.026/0.030/0.005 ms
 
 --
 ryo shimizu
 


Home | Main Index | Thread Index | Old Index