diff options
-rw-r--r-- | chapter01/changelog.xml | 4 | ||||
-rw-r--r-- | chapter06/gzip.xml | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index c5d0f7f8c..cdf767764 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,10 @@ <para>2006-09-09</para> <itemizedlist> <listitem> + <para>[matthew] - Fix non-POSIX syntax in gzexe's calls to tail. + Fixes #1876. Thanks to Robert Connolly for the report.</para> + </listitem> + <listitem> <para>[matthew] - Upgrade to linux-2.6.17.13.</para> </listitem> <listitem> 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> |