aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/texinfo.xml
diff options
context:
space:
mode:
authorArchaic <archaic@linuxfromscratch.org>2005-12-26 19:00:06 +0000
committerArchaic <archaic@linuxfromscratch.org>2005-12-26 19:00:06 +0000
commit5536f7440f2f4a12782e8d741cbbba5f1c3cfea8 (patch)
treea0f3a22ecc9c0eedfd891d54e9acf06502d2b07f /chapter06/texinfo.xml
parent2550494b85359ff42bb95a72911c7751cbce14d4 (diff)
Applied Alexander Patrakov's patch which adds UTF-8 capability to the
development branch of the LFS Book. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7235 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>