1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

(libT) when unable to run locale-specific json tests, give a hint in the terminal about how to remedy that

This commit is contained in:
Jordan Lee 2013-02-01 06:11:41 +00:00
parent 1a99b9c168
commit 3819360ca0

View file

@ -249,7 +249,9 @@ main (void)
if (setlocale (LC_NUMERIC, comma_locales[i]) != NULL)
break;
if (i==n)
fprintf (stderr, "WARNING: unable to run locale-specific json tests.\n");
fprintf (stderr, "WARNING: unable to run locale-specific json tests. add a locale like %s or %s\n",
comma_locales[0],
comma_locales[1]);
else if ((rv = runTests (tests, NUM_TESTS(tests))))
return rv;