aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gawk.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gawk.xml')
-rw-r--r--chapter06/gawk.xml16
1 files changed, 6 insertions, 10 deletions
diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml
index d25196e41..41df7f965 100644
--- a/chapter06/gawk.xml
+++ b/chapter06/gawk.xml
@@ -28,8 +28,8 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
<sect2 role="installation">
<title>Installation of Gawk</title>
-<para>Under some circumstances, Gawk-&gawk-version; attempts to free a chunk
-of memory that was not allocated. This bug is fixed by the following patch:</para>
+<para>Patch Gawk to fix a bug which causes it to segfault when invoked on a
+non-existent file:</para>
<screen><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen>
@@ -37,15 +37,11 @@ of memory that was not allocated. This bug is fixed by the following patch:</par
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
-<para>Due to a bug in the <command>./configure</command> script, Gawk fails
-to detect certain aspects of locale support in glibc. This
-bug leads to, e.g., Gettext testsuite failures. Work around this issue
-by appending the missing macro definitions to <filename>config.h</filename>:</para>
+<para>The configure script doesn't detect some functionality correctly. The
+following commands correct this problem:</para>
-<screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF"
-<literal>#define HAVE_LANGINFO_CODESET 1
-#define HAVE_LC_MESSAGES 1</literal>
-EOF</userinput></screen>
+<screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
+echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen>
<para>Compile the package:</para>