diff options
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r-- | chapter06/coreutils.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index e531b490c..5cd071580 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -41,6 +41,26 @@ other packages later:</para> <screen><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen> +<para>POSIX requires that programs from Coreutils recognize character +boundaries correctly even in multibyte locales. The following patch +fixes this non-compliance and other internationalization-related bugs:</para> + +<screen><userinput>patch -Np1 -i ../&coreutils-i18n-patch;</userinput></screen> + +<para>In order for the tests added by this patch to pass, the permissions for +the test file have to be changed:</para> + +<screen><userinput>chmod +x tests/sort/sort-mb-tests</userinput></screen> + +<note><para>In the past, many bugs were found in this patch. When reporting +new bugs to Coreutils maintainers, please check first if they are reproducible +without this patch.</para></note> + +<para>It has been found that translated messages sometimes overflow a buffer +in the <command>who -Hu</command> command. Increase the buffer size:</para> + +<screen><userinput>sed -i 's/_LEN 6/_LEN 20/' src/who.c</userinput></screen> + <para>Now prepare Coreutils for compilation:</para> <screen><userinput>./configure --prefix=/usr</userinput></screen> |