This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] PR6015, snprintf, glibc2.3 and all that...
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 3 Apr 2002 11:49:47 -0800 (PST)
- Subject: Re: [RFC] PR6015, snprintf, glibc2.3 and all that...
> 1- Which is *really* the 2.3 timeframe? One year? Two years? Can we
I've been told < 6 months.
> 2- Also, what about non-glibc platforms?
Very good question.
> 3- Ok, let's suppose we have the support of glibc2.3... Is'nt the scheme
> above "overkilling"?!? As Benjamin said, an "hard-wired" snprintf would
> suffice for this purpose and would solve in one shot both the above
> problems!
Well, yes.
> 4- What's wrong, then, with excerpting /right now/ some of snprintf GPL
> code from glibc2.2, stripping it down to the essential and implementing
> the "hard-wired" approach outlined by Benjamin?
Nothing.
> 5- In case for some utterly mysterious legal reasons something is not
> ok with glibc (I cannot imagine what!) there are around nice, free
> standing GPL implementations of snprintf, which would suffice for our
> purposes, for instance: http://www.ijs.si/software/snprintf/
Right. Pick one, do a patch.......
-benjamin