Date: Wed, 26 Apr 1995 15:41:11 -0700 From: Paul Traina <pst@shockwave.com> To: "Andrey A. Chernov" <ache@freefall.cdrom.com> Cc: CVS-commiters@freefall.cdrom.com, cvs-libexec@freefall.cdrom.com Subject: Re: cvs commit: src/libexec/telnetd sys_term.c Message-ID: <199504262241.PAA06247@precipice.shockwave.com> In-Reply-To: Your message of "Wed, 26 Apr 1995 15:33:19 PDT." <199504262233.PAA29431@freefall.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Don't you mean 16? #define UT_NAMESIZE 8 #define UT_LINESIZE 8 #define UT_HOSTSIZE 16 struct lastlog { time_t ll_time; char ll_line[UT_LINESIZE]; char ll_host[UT_HOSTSIZE]; }; struct utmp { char ut_line[UT_LINESIZE]; char ut_name[UT_NAMESIZE]; char ut_host[UT_HOSTSIZE]; long ut_time; From: "Andrey A. Chernov" <ache@freefall.cdrom.com> Subject: cvs commit: src/libexec/telnetd sys_term.c ache 95/04/26 15:33:18 Modified: libexec/telnetd sys_term.c Log: Fix bug: When hostname len > 8, name replaced with dot notation when -u flag not specified (default case). Use _PATH_* for utmp/wtmp.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504262241.PAA06247>