Skip site navigation (1)Skip section navigation (2)
Date:      20 Jan 2002 20:38:01 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        markm@freebsd.org, current@freebsd.org
Subject:   Re: Step3, pam_opie snprintf bloat fix for review
Message-ID:  <xzppu444xuu.fsf@flood.ping.uio.no>
In-Reply-To: <20020120193121.GA23954@nagual.pp.ru>
References:  <20020120193121.GA23954@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrey A. Chernov" <ache@nagual.pp.ru> writes:
> Bug:
> snprintf is large and slow, increasing program size and slowing it down.
> Better way is avoid snprintf when it is not neccessary.
> 
> Fix:
> Full functionality of snprintf is not needed below, so it is replaced by 
> much faster strlcpy.

Approved (unless Mark has any objections).

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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