This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]