1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
hnb (1.9.18-8) * Call setlocale("LC_ALL") on startup of hnb.
--- hnb.orig/src/hnb.c
+++ hnb/src/hnb.c
@@ -36,6 +36,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <locale.h>
#include "tree.h"
@@ -179,6 +180,8 @@ int main (int argc, char **argv)
init_subsystems ();
+ setlocale(LC_ALL, "");
+
if (cmdline.usage) {
usage (argv[0]);
exit (0);
|