Commit 5edadf4f authored by Peter Eriksson's avatar Peter Eriksson
Browse files

Some diagnostics for setlocale()

parent cf5f33a6
......@@ -214,6 +214,9 @@ main (int argc,
{
perror("setlocale");
exit(1);
if (!isprint(0344))
fprintf(stderr, "*** setlocale(ISO 8859-1) didn't take!\n");
}
s_set_storage_management(string_malloc, string_realloc, string_free);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment