Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2001 09:48:34 +0100
From:      Mark Huizer <freebsd@dohd.org>
To:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/finger util.c
Message-ID:  <20010301094834.A38217@dohd.cx>
In-Reply-To: <200103010552.f215qcp99447@freefall.freebsd.org>; from imp@FreeBSD.org on Wed, Feb 28, 2001 at 09:52:38PM -0800
References:  <200103010552.f215qcp99447@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 28, 2001 at 09:52:38PM -0800, Warner Losh wrote:
> imp         2001/02/28 21:52:38 PST
> 
>   Modified files:
>     usr.bin/finger       util.c 
>   Log:
>   MAXPATHLEN is enough.
>   
>   Also, snprinf is guaranteed by the new ansi standard to NUL terminate the
>   string, so we don't need to do that ourselves.
>   
Geeh :-) I wonder how people will differ in their code between old and
new ansi standards (not for usr.bin, but for stuff in ports). Isn't it
rather unsafe to rely on that when trying to write portable software?

mark
-- 
Nice testing in little China...

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?20010301094834.A38217>