Cross Reference: 043-22.locale.numpunct.cpp.patch
xref
: /
solaris-userland
/
components
/
stdcxx
/
patches
/
043-22.locale.numpunct.cpp.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
402
N/A
---
stdcxx-4.2.1/tests/localization
/
22.locale.numpunct.cpp
2008-04-24 17:23:10.000000000 -0700
402
N/A
+++
stdcxx-4.2.1/tests/localization
/
22.locale.numpunct.cpp
2009-07-27 14:41:33.627970295 -0700
402
N/A
@@ -137,7 +137,7 @@
402
N/A
// verify that numpunct behaves correctly when LC_ALL is set
402
N/A
// to the name of the (non-C, non-POSIX) locale
402
N/A
char envvar [80];
402
N/A
- std::sprintf (envvar, "LC_ALL=%s", first_non_c);
402
N/A
+ std::sprintf (envvar, "LC_ALL=%s", first_non_c ? first_non_c : "");
402
N/A
rw_putenv (envvar);
402
N/A
check_numpunct (charT (), tname, "", loc);
402
N/A
}