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]

[RFC] PR 6015: number formatting is not mt-safe


Hi all,

first blush (I'm not a MT expert) this PR seems sound. The current 
__convert_from_v has the following structure (which may be found also 
described on some glibc guidelines): save-current-locale; setlocale "C"; 
sprintf; setlocale back .

Indeed this seems /not/ MT safe.

OTOH, I think the current standard is completely silent about MT issues.

What do you all think? Is this a pure QoI issue? Is there something we 
can do about it?

Thanks,
Paolo.




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