[v3] libstdc++/6518
George Garvey
tmwg-gcc@inxservices.com
Thu May 23 10:06:00 GMT 2002
On Thu, May 23, 2002 at 06:54:18PM +0200, Paolo Carlini wrote:
> But now: what to do about that? I mean, please excuse my naivete: how to
> tell a null terminated zero length string from a null pointer?!? I'm not
> able to do that. Perhaps you are implying that, since we are not able to
> do that, we must give up trying to diagnose the situation and therefore
> simply never set the badbit?
I believe that libstdc++ must find a way to tell the difference. It
may be difficult there, but the alternative is for every client of
libstdc++ to do it instead.
More information about the Gcc-patches
mailing list