From 8a59f6561c800adcca31e90afd84b2df53460264 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 4 Sep 2013 16:44:54 -0400 Subject: [PATCH] main: Call setlocale() While we're not translating anything right now, we should still setlocale() so that our output is formatted as command line users will expect. --- src/ostree/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ostree/main.c b/src/ostree/main.c index b7d40240..f23e8260 100644 --- a/src/ostree/main.c +++ b/src/ostree/main.c @@ -26,6 +26,7 @@ #include #include +#include #include "ot-main.h" #include "ot-builtins.h" @@ -66,6 +67,8 @@ main (int argc, GError *error = NULL; int ret; + setlocale (LC_ALL, ""); + ret = ostree_run (argc, argv, commands, &error); if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED)) ostree_usage (argv, commands, TRUE);