aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gzip.xml12
1 files changed, 3 insertions, 9 deletions
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml
index 4447704ab..467471388 100644
--- a/chapter06/gzip.xml
+++ b/chapter06/gzip.xml
@@ -41,16 +41,10 @@
<sect2 role="installation">
<title>Installation of Gzip</title>
- <para>The version of the function <quote>futimens</quote> used
- by Gzip is incompatible with the version that current
- Glibc provides, so we'll rename the function:</para>
+ <para>Fix a bug in gzip, whereby zdiff doesn't work correctly when invoked
+ on two compressed inputs:</para>
-<screen><userinput remap="pre">sed -i 's/futimens/gl_&amp;/' gzip.c lib/utimens.{c,h}</userinput></screen>
-
- <para>There is also a bug in the <filename>zdiff</filename> script that
- needs to be fixed:</para>
-
-<screen><userinput remap="pre">sed -i 's/5 -)/5 - >\&amp;3)/' zdiff.in</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&gzip-zdiff-patch;</userinput></screen>
<para>Prepare Gzip for compilation:</para>