aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-02-02 20:42:20 +0800
committerXi Ruoyao <xry111@xry111.site>2023-02-02 20:42:20 +0800
commit833f3efc0116e61cfb3e59bd7b875e8c83ee13af (patch)
treeceb897be0695e152d5a91717dd61369f5a6f7004 /chapter08
parent2d215b5fc8df4b7e90671f142dc93b16ad50dfb1 (diff)
glibc: Fix an issue identified upstream
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/glibc.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index a0d64ee75..ec81b2da7 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -50,6 +50,12 @@
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
+ <!-- https://sourceware.org/bugzilla/show_bug.cgi?id=30068 -->
+ <para>Fix an issue identified upstream:</para>
+
+<screen><userinput remap="pre">sed '/width -=/s/workend - string/number_length/' \
+ -i stdio-common/vfprintf-process-arg.c</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc
in a dedicated build directory:</para>