aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9f0b84f..8eea930 100644
--- a/main.c
+++ b/main.c
@@ -25,6 +25,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
+#include <locale.h>
#include <signal.h>
#include <sys/select.h>
#include <sys/stat.h>
@@ -813,6 +814,8 @@ int main(int argc, char **argv)
signal(SIGPIPE, SIG_IGN);
+ setlocale(LC_COLLATE, "");
+
parse_options(argc, argv);
if (options->clean_cache) {