aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-12-25 23:52:19 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-12-25 23:52:19 +0100
commit008c96d6518125f2683c1b4e842ca3ed6e865c3d (patch)
tree4927867f82c2ad34d2dc957233af679fb6220faa /src
parent38fe0a8d151e681e4818f9afceb5188470fc0636 (diff)
parent14e9d7b2299f15efb695b0202f9c1f6a9f7a4ba6 (diff)
downloadblogc-008c96d6518125f2683c1b4e842ca3ed6e865c3d.tar.gz
blogc-008c96d6518125f2683c1b4e842ca3ed6e865c3d.tar.bz2
blogc-008c96d6518125f2683c1b4e842ca3ed6e865c3d.zip
Merge remote-tracking branch 'origin/master' into feature/directives
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d6fa595..600a131 100644
--- a/src/main.c
+++ b/src/main.c
@@ -19,6 +19,7 @@
#endif /* HAVE_SYS_TYPES_H */
#include <errno.h>
+#include <locale.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
@@ -105,6 +106,8 @@ blogc_mkdir_recursive(const char *filename)
int
main(int argc, char **argv)
{
+ setlocale(LC_ALL, "");
+
int rv = 0;
bool listing = false;