[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev lynx 2.8.3dev.4 for Win32 patch
From: |
T.E.Dickey |
Subject: |
Re: lynx-dev lynx 2.8.3dev.4 for Win32 patch |
Date: |
Mon, 19 Jul 1999 09:16:09 -0400 (EDT) |
>
> On Mon, 19 Jul 1999, Leonid Pauzner wrote:
>
> > 3) a lot of new fixed buffer operations were added with WIN_EX and SH_EX,
> > perhaps most of sprintf/etc. should be replaced with safe HTSprintf/0
> > and so on according to current lynx style.
>
> Except perhaps if the code gets executed often. HTSprintf/0 has overhead,
> in some places it should probably be avoided.
some of those are places we can optimize by allocating a buffer of the
appropriate size (using HTSprintf/0 for one character at a time is not a
Good Thing, but buffer overflows are not either).
> Klaus
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey