r1253 - in trunk/BOOK: . chapter01 chapter06
robert at linuxfromscratch.org
robert at linuxfromscratch.org
Sun Oct 21 19:40:25 MDT 2007
Author: robert
Date: 2007-10-21 19:40:25 -0600 (Sun, 21 Oct 2007)
New Revision: 1253
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter06/sed.xml
trunk/BOOK/general.ent
Log:
Added temporary file notes for Sed chap6
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2007-10-21 02:47:21 UTC (rev 1252)
+++ trunk/BOOK/chapter01/changelog.xml 2007-10-22 01:40:25 UTC (rev 1253)
@@ -49,6 +49,15 @@
-->
<listitem>
+ <para>October 21, 2007</para>
+ <itemizedlist>
+ <listitem>
+ <para>[robert] - Added temporary file notes for Sed chap6.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>October 20, 2007</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/chapter06/sed.xml
===================================================================
--- trunk/BOOK/chapter06/sed.xml 2007-10-21 02:47:21 UTC (rev 1252)
+++ trunk/BOOK/chapter06/sed.xml 2007-10-22 01:40:25 UTC (rev 1253)
@@ -21,6 +21,15 @@
<para>User Notes: <ulink url="&hlfs-wiki;/sed"/></para>
+ <para>Auditor Notes: Sed uses temporary files with the <option>--in-place</option>
+ and <option>-i</option> options. This is controled in the <function>ck_mkstemp</function>
+ function in the <filename>lib/utils.c</filename> file. The <quote>tmpdir</quote>
+ variable is set by the <envar>TMPDIR</envar> and <envar>TMP</envar> shell
+ environment variables, at run time, and if neither are set then
+ <filename class="directory">/tmp</filename> is used. Alternatively, setting
+ <option>-DP_tmpdir="/another_tmp"</option> in CFLAGS will replace the hard
+ coded value for <filename class="directory">/tmp</filename>.</para>
+
</sect2>
<sect2 role="installation">
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2007-10-21 02:47:21 UTC (rev 1252)
+++ trunk/BOOK/general.ent 2007-10-22 01:40:25 UTC (rev 1253)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20071020">
-<!ENTITY releasedate "October 20th, 2007">
+<!ENTITY version "SVN-20071021">
+<!ENTITY releasedate "October 21th, 2007">
<!ENTITY milestone "1.1">
<!ENTITY lfs-root "http://www.linuxfromscratch.org/">
More information about the hlfs-book
mailing list