Fix symlink related bug in cpio

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4782 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Tushar Teredesai 2005-07-26 05:31:15 +00:00
parent 49f07aad53
commit cc7e9e2a4b
2 changed files with 11 additions and 1 deletions

View File

@ -67,6 +67,7 @@
--bindir=/bin --libexecdir=/tmp \
--with-rmt=/usr/sbin/rmt &&
echo "#define HAVE_SETLOCALE 1" >> config.h &&
echo "#define HAVE_LSTAT 1" >> config.h &&
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
@ -99,8 +100,12 @@ make</userinput></screen>
<application>tar</application> package in LFS.</para>
<para><command>echo "#define HAVE_SETLOCALE 1" >> config.h</command>:
This command fixes a build problem to ensure proper LSB functionality.</para>
This command specifies that the system <application>Libc</application> implements the
setlocale function since it is not detected by <command>configure</command>.</para>
<para><command>echo "#define HAVE_LSTAT 1" >> config.h</command>:
This defines fixes a bug that causes <command>cpio</command> to convert symlinks into
regular files during archive creation.</para>
</sect2>

View File

@ -24,6 +24,11 @@
<itemizedlist>
<listitem>
<para>July 25th 2005 [tushar]: Fix symlink related bug in cpio.
See Bug # 1464.</para>
</listitem>
<listitem>
<para>July 25th 2005 [randy]: Updated to Heimdal-0.7.</para>
</listitem>