Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Nov 2001 14:40:15 -0500
From:      "Brian F. Feldman" <green@FreeBSD.org>
To:        Brian Feldman <green@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/truss syscalls.c 
Message-ID:  <200111061940.fA6JeF467268@green.bikeshed.org>
In-Reply-To: Message from Brian Feldman <green@FreeBSD.org>  of "Tue, 06 Nov 2001 11:26:51 PST." <200111061926.fA6JQpu81859@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Feldman <green@FreeBSD.org> wrote:
> green       2001/11/06 11:26:51 PST
> 
>   Modified files:
>     usr.bin/truss        syscalls.c 
>   Log:
>   Add missing include for <ctype.h>
>   
>   Make sockaddr printing code unbad.
>   
>   Always copy in sizeof(sockaddr_un) bytes for an AF_UNIX sockaddr,
>   despite what the length may be.

Of course, all the rest of truss is pretty evil for many reasons, but at 
least using asprintf(3) here makes things look a lot better, and make more 
sense.

-- 
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



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?200111061940.fA6JeF467268>