From: Wayne Davison Date: Sat, 30 Oct 2021 03:06:06 +0000 (-0700) Subject: Fix the ability to read the user's numeric locale. X-Git-Tag: v3.2.4pre1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80c64dc3b3e82c84ea52528722ee2db1567ab4c1;p=thirdparty%2Frsync.git Fix the ability to read the user's numeric locale. --- diff --git a/main.c b/main.c index 361dbc4e..013a0555 100644 --- a/main.c +++ b/main.c @@ -1761,6 +1761,7 @@ int main(int argc,char *argv[]) #if defined CONFIG_LOCALE && defined HAVE_SETLOCALE setlocale(LC_CTYPE, ""); + setlocale(LC_NUMERIC, ""); #endif if (!parse_arguments(&argc, (const char ***) &argv)) {