Subject: bin/9707: ping6(8) lies about using
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 03/29/2000 22:12:04
>Synopsis: ping6(8) lies about using <sysexits.h>
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Wed Mar 29 22:12:00 2000
>Originator: matthew green
people's front against (bozotic) www (softwar foundation)
>Release: <NetBSD-current source date>feb 20
System: NetBSD fish-dances.eterna.com.au 1.4T NetBSD 1.4T (_fish_) #10: Fri Mar 17 16:36:55 EST 2000 firstname.lastname@example.org:/var/_fish_ i386
excerpt from ping6(8):
The ping6 command returns an exit status of zero if at least one response
was heard from the specified host; a status of two if the transmission
was successful but no responses were received; or another value (from
<sysexits.h>) if an error occurred.
but in reality, the only calls to exit are as following and <sysexit.h>
is not even included.
ping6.c: exit(nreceived == 0);
additionally, there is no place that an exit status of 2 is used.
read ping6(8). be curious why you can't get an exit status of 2 from
it. read ping6.c and see why.
not given. (fix program or docs).