summaryrefslogtreecommitdiff
path: root/utils/ping.c
AgeCommit message (Collapse)Author
2002-05-282002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* pids.c (add_fn_pids): unsigned -> size_t * w.c (add_utmp_procs): Likewise. * login.c (add_canonical_host): Likewise. * ps.c (main): Likewise. * login.c (add_entry, main): Likewise. * settrans.c (main): int -> size_t * showtrans.c (main): Likewise. * fsysopts.c (main): Likewise. * vmstat.c (main): Use int for FWIDTHS. * ping.c (main): size_t -> socklen_t * fakeauth.c (S_auth_getids, S_auth_makeauth, S_auth_server_authenticate): u_int -> size_t * showtrans.c (main): Cast field width/precision args to int.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1998-04-22Wed Apr 22 16:38:59 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* ping.c (MAXHOSTNAMELEN): Don't define. (main): Delete variable `hnamebuf'. Store directly into properly malloced `hostname' variable.
1998-04-22Wed Apr 22 16:29:18 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* ping.c: New file. Originally P.D. from US Army; then modified by BSD, then added to Linux. Taken from Linux ping and adapted for Hurd and submitted for inclusion by Kunihiro Ishiguro (kunihiro@zebra.org). * Makefile (targets): Add `ping'. (SRCS): Add `ping.c'. (ping-CPPFLAGS): New variable, to find <linux/icmp.h> in the pfinet sources. (INSTALL-ping-ops): Install ping suid root. (ping): Depend on `../libthreads/libthreads.a'.