From owner-freebsd-hackers Tue Jan 2 10:06:59 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA00862 for hackers-outgoing; Tue, 2 Jan 1996 10:06:59 -0800 (PST) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA00857 Tue, 2 Jan 1996 10:06:57 -0800 (PST) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id MAA11850; Tue, 2 Jan 1996 12:06:26 -0600 From: Joe Greco Message-Id: <199601021806.MAA11850@brasil.moneng.mei.com> Subject: Re: utmp ut_name To: gclarkii@freebsd.org Date: Tue, 2 Jan 1996 12:06:25 -0600 (CST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199601021437.IAA10747@main.gbdata.com> from "Gary Clark II" at Jan 2, 96 08:37:08 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org Precedence: bulk > 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