aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gzip.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml
index 9cb4b8437..4782bcce6 100644
--- a/chapter06/gzip.xml
+++ b/chapter06/gzip.xml
@@ -40,6 +40,13 @@
<screen><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
+ <para>The <command>gzexe</command> command calls <command>tail</command>
+ with options that do not conform to newer versions of the POSIX standard,
+ and therefore are not accepted by current versions of Coreutils. Fix this
+ problem by issuing the following command:</para>
+
+<screen><userinput>sed -i 's/tail +/tail -n +/' gzexe.in</userinput></screen>
+
<para>Prepare Gzip for compilation:</para>
<screen><userinput>./configure --prefix=/usr</userinput></screen>