Date: Thu, 26 Jul 2001 12:20:13 -0700 (PDT) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/w Makefile w.1 w.c Message-ID: <200107261920.f6QJKDF16307@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 2001/07/26 12:20:13 PDT Modified files: usr.bin/w Makefile w.1 w.c Log: When -n is specified, don't attempt to turn hostnames found in utmp into addresses as we have no idea what address family they belong to. When -n is not specified, resolve IPv6 as well as IPv4 addresses found in the host field of utmp. Use realhostname_sa() to resolve addresses (the old code was wrong). Rename ``x'' to ``x_suffix'' to avoid confusion. Hard code the host column width to 16 (against the imminent increase of UT_HOSTSIZE in utmp.h). Revision Changes Path 1.8 +3 -3 src/usr.bin/w/Makefile 1.17 +3 -3 src/usr.bin/w/w.1 1.48 +40 -41 src/usr.bin/w/w.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107261920.f6QJKDF16307>