Still improving! (Was: Re: [PATCH] Avoid strtok for thread safety)

Paolo Carlini pcarlini@unitus.it
Wed Nov 27 09:20:00 GMT 2002


Martin Sebor wrote:

> Sorry for butting in, but the code above doesn't seem exception
> safe :) (I.e., it will leak if any of the new expressions except
> the first one throws). 

Thanks!

What about Nathan's solution? At this point I was meaning to finalize 
*that* one, indeed:

    http://gcc.gnu.org/ml/libstdc++/2002-11/msg00297.html

Ciao, Paolo.



More information about the Libstdc++ mailing list