Date: Tue, 5 Jul 2011 14:12:48 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/w w.c Message-ID: <201107051413.p65ED03k051839@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2011-07-05 14:12:48 UTC FreeBSD src repository Modified files: usr.bin/w w.c Log: SVN rev 223786 on 2011-07-05 14:12:48Z by ed Only print entries for which ut_host points to a character device. Now that we use utmpx, we more often have entries for which the ut_line is left blank. To prevent us from returning struct stat for "/dev/", check that the resulting stat structure belongs to a character device. Revision Changes Path 1.70 +1 -1 src/usr.bin/w/w.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107051413.p65ED03k051839>