From 3819360ca0fbd484c72195b7678418cec3239d76 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Fri, 1 Feb 2013 06:11:41 +0000 Subject: [PATCH] (libT) when unable to run locale-specific json tests, give a hint in the terminal about how to remedy that --- libtransmission/json-test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libtransmission/json-test.c b/libtransmission/json-test.c index bc20b1488..9fae16801 100644 --- a/libtransmission/json-test.c +++ b/libtransmission/json-test.c @@ -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;