r6748 - in branches/gcc4/BOOK: chapter01 chapter05

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Tue Aug 23 13:18:18 PDT 2005


Author: matthew
Date: 2005-08-23 14:18:17 -0600 (Tue, 23 Aug 2005)
New Revision: 6748

Modified:
   branches/gcc4/BOOK/chapter01/changelog.xml
   branches/gcc4/BOOK/chapter05/adjusting.xml
Log:
Remove '&&' from the `find' command that removes fixed headers as this may fail due to a race condition between `find' and `rm' (fixes bug 1621)


Modified: branches/gcc4/BOOK/chapter01/changelog.xml
===================================================================
--- branches/gcc4/BOOK/chapter01/changelog.xml	2005-08-23 20:02:40 UTC (rev 6747)
+++ branches/gcc4/BOOK/chapter01/changelog.xml	2005-08-23 20:18:17 UTC (rev 6748)
@@ -119,6 +119,11 @@
 </itemizedlist>
 </listitem>
 
+<listitem><para>August 23rd, 2005 [matt]: <command>find</command> may fail due
+to a race condition when deleting files.  Remove the && construct in
+chapter05/adjusting.xml so that the rest of the commands for removing fixed
+headers will be executed (fixes bug 1621).</para></listitem>
+
 <listitem><para>August 23rd, 2005 [matt]: Install Udev's documentation relating
 to configuring rules (fixes bug 1622)</para></listitem>
 

Modified: branches/gcc4/BOOK/chapter05/adjusting.xml
===================================================================
--- branches/gcc4/BOOK/chapter05/adjusting.xml	2005-08-23 20:02:40 UTC (rev 6747)
+++ branches/gcc4/BOOK/chapter05/adjusting.xml	2005-08-23 20:18:17 UTC (rev 6748)
@@ -68,7 +68,7 @@
 
 <!-- && used to ease copy and pasting -->
 <screen><userinput>GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &&
-find ${GCC_INCLUDEDIR}/* -xtype d -exec rm -rf \{} \; &&
+find ${GCC_INCLUDEDIR}/* -xtype d -exec rm -rf \{} \;
 rm -f `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &&
 unset GCC_INCLUDEDIR</userinput></screen>
 




More information about the lfs-book mailing list