r929 - in branches/2.4-branch/BOOK: chapter05 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Sun Dec 3 15:47:31 PST 2006


Author: robert
Date: 2006-12-03 16:47:30 -0700 (Sun, 03 Dec 2006)
New Revision: 929

Modified:
   branches/2.4-branch/BOOK/chapter05/binutils-pass2.xml
   branches/2.4-branch/BOOK/chapter06/binutils.xml
Log:
Added url for the binutils mkstemp patch

Modified: branches/2.4-branch/BOOK/chapter05/binutils-pass2.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter05/binutils-pass2.xml	2006-12-03 22:46:34 UTC (rev 928)
+++ branches/2.4-branch/BOOK/chapter05/binutils-pass2.xml	2006-12-03 23:47:30 UTC (rev 929)
@@ -37,13 +37,6 @@
   <sect2 role="installation">
     <title>Re-installation of Binutils</title>
 
-    <para>Create a separate build directory again:</para>
-
-    <para role="hardened_tmp">This patch replaces mktemp(3) with mkstemp(3) and
-    mkdtemp(3), for safer temporary file creation. This patch is from binutils-cvs:</para>
-
-<screen role="hardened_tmp"><userinput>patch -Np1 -i ../&binutils-hardened_tmp-patch;</userinput></screen>
-
     <para>Create a build directory and change into it:</para>
 
 <screen><userinput>mkdir -v ../binutils-build

Modified: branches/2.4-branch/BOOK/chapter06/binutils.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/binutils.xml	2006-12-03 22:46:34 UTC (rev 928)
+++ branches/2.4-branch/BOOK/chapter06/binutils.xml	2006-12-03 23:47:30 UTC (rev 929)
@@ -50,7 +50,11 @@
     <para>This issue needs to be resolved before running the test suites
     for Binutils and GCC.</para>
 
-    <para role="hardened_tmp">Patch Binutils for mkstemp(3):</para>
+    <para role="hardened_tmp">This patch is from Binutils-cvs:
+    <ulink url="http://sourceware.org/ml/binutils-cvs/2006-10/msg00044.html"/>,
+    and adds the mkstemp(3) and mkdtemp(3) library functions to Binutils
+    for safer temporary file creation. Apply this patch with the following
+    command:</para>
 
 <screen role="hardened_tmp"><userinput>patch -Np1 -i ../&binutils-hardened_tmp-patch;</userinput></screen>
 




More information about the hlfs-book mailing list