Index: punct.cpp =================================================================== --- punct.cpp (revision 578875) +++ punct.cpp (working copy) @@ -132,6 +132,9 @@ // set all categories -- need LC_NUMERIC and LC_CTYPE const __rw_setlocale clocale (locname, _RWSTD_LC_ALL); + if (pfacet->_C_data ()) + return __rw_get_numpunct (pfacet, flags); + // get the lconv data const lconv* const pconv = localeconv (); if (!pconv)