Chris Staub wrote:

I know the book says that the switch causes mktemp to use functions from the system libc, but why exactly? Everywhere else in LFS whenever this is done the reason is given, like bash's "--without-bash-malloc" is stated in the book to be used because bash's internal functions are unstable. Why is "--with-libc" needed for mktemp?

Because otherwise it won't use the mkstemp() and mkdtemp() functions from glibc, and will use its own replacements for them.

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to