aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-03-31 22:46:00 +0800
committerXi Ruoyao <xry111@xry111.site>2023-03-31 22:46:00 +0800
commit22f0edf6ba3fb95bdc4f3e8b132d6e7f9f0f4fa1 (patch)
treef8bbdcef657d849874579c8bbf8bc5d1444d8453 /chapter08
parentbdaf4239efea2c0c4c0c18c2d90864a5440d197b (diff)
coreutils: Fix a bug in checksum utilities for failure reportingxry111/update-20230331
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/coreutils.xml14
1 files changed, 6 insertions, 8 deletions
diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml
index 77c6a7a92..7c528d6c4 100644
--- a/chapter08/coreutils.xml
+++ b/chapter08/coreutils.xml
@@ -53,14 +53,12 @@
those bugs are reproducible without this patch.</para>
</note>
- <!-- this has been fixed in upstream gnulib, when a new version of
- coreutils is released, please check #4055 to see if the change has been
- picked up in this package -->
-<!--
- <para>Now, fix a problem with chmod return values:</para>
-
-<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-chmod-patch;</userinput></screen>
--->
+ <!-- https://bugs.gnu.org/62403 -->
+ <para>Fix a bug in checksum utilities causing failed checks not
+ reported correctly:</para>
+
+<screen><userinput remap="pre">sed '/if ( ! match/s/ed_checksums//' -i src/digest.c</userinput></screen>
+
<para>Now prepare Coreutils for compilation:</para>
<screen><userinput remap="configure">autoreconf -fiv