[v3] libstdc++/5280
Richard Henderson
rth@redhat.com
Tue Jan 22 14:09:00 GMT 2002
On Tue, Jan 22, 2002 at 01:00:47PM -0800, Benjamin Kosnik wrote:
> + // Stage 2: Determine a conversion specifier.
> + ios_base::fmtflags __basefield = __io.flags() & ios_base::basefield;
> + const char* __conv;
> + if (__basefield == ios_base::oct)
> + __conv = "%Lo";
> + else if (__basefield == ios_base::hex)
> + __conv = "%LX";
> + else if (__basefield == 0)
> + __conv = "%Li";
> + else
> + __conv = "%Lf";
All but the last are not appropriate for sscanf into a long double.
r~
More information about the Libstdc++
mailing list