aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/texinfo.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/texinfo.xml')
-rw-r--r--chapter06/texinfo.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter06/texinfo.xml b/chapter06/texinfo.xml
index fc3138517..0a1ff24c7 100644
--- a/chapter06/texinfo.xml
+++ b/chapter06/texinfo.xml
@@ -29,6 +29,14 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
<sect2 role="installation">
<title>Installation of Texinfo</title>
+<para>The <command>info</command> program makes assumptions such as "a string
+occupies the same number of character cells on the screen and bytes in memory"
+and "one can break the string anywhere" that are incorrect in UTF-8 locales.
+While the patch below is not the proper solution, it at least hides the problem
+by falling back to English messages when a multibyte locale is in use:</para>
+
+<screen><userinput>patch -Np1 -i ../&texinfo-multibyte-patch;</userinput></screen>
+
<para>Texinfo allows local users to overwrite arbitrary files via a symlink
attack on temporary files. Apply the following patch to fix this:</para>