Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 1996 12:06:25 -0600 (CST)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        gclarkii@freebsd.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: utmp ut_name
Message-ID:  <199601021806.MAA11850@brasil.moneng.mei.com>
In-Reply-To: <199601021437.IAA10747@main.gbdata.com> from "Gary Clark II" at Jan 2, 96 08:37:08 am

next in thread | previous in thread | raw e-mail | index | archive | help
> Hello,
> 
> I'm working on a PERL5 interface for Conetic Software's CBASE DB system
> and ran into a snag with the ZDaemon.  My utmp entry is showing
> up as gclarkii:0.0 instead of gclarkii and it was causing the daemon
> to fail (it's getting fixed).  Is this a new thing or has it been
> doing this forever(or close enough:)).
> 
> Thanks for any info.
> 
> Gary
> 
> Gary Clark II (V5VMF)
> gclarkii@FreeBSD.ORG

if you look at the structure definition in utmp.h it will become immediately
apparent why this happens  :-)

this is one of the cruddier but logical things done to save a few bytes of
disk....  it means you have to work harder to process a utmp structure.
"no nulls if you have an 8 character name..."

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601021806.MAA11850>