summaryrefslogtreecommitdiff
path: root/core/man-db/1361_1360.diff
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-07 22:47:46 +0000
committerroot <root@rshg047.dnsready.net>2011-06-07 22:47:46 +0000
commit4d91fc9a2dc38054b8748f27193dc3a6950bda3c (patch)
treed7af2e15a96d98c0495de0d066c0204c6947778c /core/man-db/1361_1360.diff
parent93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (diff)
Tue Jun 7 22:47:46 UTC 2011
Diffstat (limited to 'core/man-db/1361_1360.diff')
-rw-r--r--core/man-db/1361_1360.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/man-db/1361_1360.diff b/core/man-db/1361_1360.diff
new file mode 100644
index 000000000..c93856980
--- /dev/null
+++ b/core/man-db/1361_1360.diff
@@ -0,0 +1,25 @@
+=== modified file 'src/straycats.c'
+--- src/straycats.c 2011-01-10 20:08:22 +0000
++++ src/straycats.c 2011-06-04 06:34:51 +0000
+@@ -177,6 +177,7 @@
+ char *lang, *page_encoding;
+ char *mandir_base;
+ pipecmd *col_cmd;
++ char *col_locale;
+ char *fullpath;
+
+ /* we have a straycat. Need to filter it and get
+@@ -226,6 +227,12 @@
+ col_cmd = pipecmd_new_argstr
+ (get_def_user ("col", COL));
+ pipecmd_arg (col_cmd, "-bx");
++ col_locale = find_charset_locale ("UTF-8");
++ if (col_locale) {
++ pipecmd_setenv (col_cmd, "LC_CTYPE",
++ col_locale);
++ free (col_locale);
++ }
+ pipeline_command (decomp, col_cmd);
+
+ fullpath = canonicalize_file_name (catdir);
+