Changeset: 277bbaaf8740 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=277bbaaf8740
Modified Files:
clients/mapiclient/mclient.c
Branch: Jul2015
Log Message:
Only set the part of the locale that we care about.
This way, you can set the LC_NUMERIC locale to one that uses something
other than a decimal point (e.g. a comma) and still pass the tests.
diffs (12 lines):
diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -3056,7 +3056,7 @@ main(int argc, char **argv)
* ".OCP" if we knew for sure that we were running in a cmd
* window) */
#ifdef HAVE_SETLOCALE
- setlocale(LC_ALL, "");
+ setlocale(LC_CTYPE, "");
#endif
#endif
toConsole = stdout_stream = file_wastream(stdout, "stdout");
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list