Re: snprintf.c bugs

Doug Kaufman <[email protected]>
Newsgroups gmane.comp.web.wget.patches
Message-ID <[email protected]>
On Sat, 16 Apr 2005, Hrvoje Niksic wrote:

> snprintf.c is horrible.  The floating-point formatting is an utter
> kludge, and a large number of bugs are lurking there.  Still, it's
> better than nothing, and its bare-bones floating-point support seems
> to be sufficient to satisfy Wget's needs.  Furthermore, snprintf is
> still not as ubiquitous as one would like.

I was just curious. Wouldn't it be easier to incorporate one of
the portable snprintf implementations available on the web, such
as Mark Martinec's version (which is licensed under GPL)? See:
"http://www.ijs.si/software/snprintf/". Are there advantages to a
wget-specific snprintf?
                             Doug

-- 
Doug Kaufman
Internet: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.