aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-02-04 03:52:17 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-02-04 03:52:17 +0000
commit31435cae54451e90dd29c14bed3464f9a381e0b2 (patch)
tree7fcfa17c2340662d58d918df037d1ce58b530071
parente5c5f0191d29e4867be7a29b5ebfe8f91863a7e2 (diff)
updated fileutils patch explanation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2422 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter05/fileutils-inst.xml13
-rw-r--r--chapter06/ed-inst.xml15
2 files changed, 14 insertions, 14 deletions
diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml
index 489415328..93768f8f8 100644
--- a/chapter05/fileutils-inst.xml
+++ b/chapter05/fileutils-inst.xml
@@ -3,12 +3,13 @@
<sect2>
<title>Installation of Fileutils</title>
-<para>The programs from a statically linked Fileutils package may cause
-segmentation faults on certain systems, if your distribution has
-Glibc-2.2.3 installed. It seems to happen mostly on machines
-powered by an AMD CPU, but there is a case or two where an Intel system
-is affected as well. If your system falls in this category, apply the
-patch.</para>
+<para>There is a documented (see
+<ulink url="http://mail.gnu.org/pipermail/bug-glibc/2001-May/003149.html"/>)
+bug with the atexit() function in glibc-2.2.3 when it is compiled with
+gcc-2.95.3. This bug only occurs on some systems (primarily AMD, but not
+exclusively). This bug causes segmentation faults in fileutils-4.1 when it
+is compiled statically. This patch causes on_exit() to be called instead of
+atexit().</para>
<para>Note that in some cases using this patch will result in not being
able to compile this package at all, even when your system has an AMD CPU
diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml
index fa2e62e03..64c4e10bd 100644
--- a/chapter06/ed-inst.xml
+++ b/chapter06/ed-inst.xml
@@ -10,10 +10,10 @@ days.</para></note>
<para>Ed uses mktemp to create temporary files in <filename
class="directory">/tmp</filename>, but this function has a security
-vulnerability (see section on Temporary Files in
-<ulink url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>).
-This patch makes Ed use mkstemp instead, which is the recommended way to
-create temporary files.</para>
+vulnerability (see section on Temporary Files in <ulink
+url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). This
+patch makes Ed use mkstemp instead, which is the recommended way to create
+temporary files.</para>
<para>Apply the patch:</para>
@@ -32,11 +32,10 @@ create temporary files.</para>
<para><screen><userinput>make install</userinput></screen></para>
<para>We need to move the Ed binaries to the <filename
-class="directory">/bin</filename> directory so they may be used in
-the event that the <filename class="directory">/usr</filename>
-partition is unavailable.</para>
+class="directory">/bin</filename> directory so they may be used in the event
+that the <filename class="directory">/usr</filename> partition is
+unavailable.</para>
<para><screen><userinput>mv /usr/bin/{ed,red} /bin</userinput></screen></para>
</sect2>
-