libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Sensible default" for IFS doesn't include a newline


From: Scott James Remnant
Subject: "Sensible default" for IFS doesn't include a newline
Date: 02 Aug 2003 02:04:59 +0100

Debian Bug#98492 and #95447

If IFS is unset, libtool applies the "sensible default" of
<space><tag>.  This has the unfortunate consequence of not splitting
values containing new lines which is the default behaviour.

This patch changes the setting to <space><tab><newline> which is more
often the default, and what shell scripts libtool might be calling
probably expect.


Index: ltmain.in
===================================================================
--- ltmain.in   (revision 46)
+++ ltmain.in   (working copy)
@@ -94,7 +94,8 @@
 fi
  
 # Make sure IFS has a sensible default
-: ${IFS="      "}
+: ${IFS="      
+"}
  
 if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
   $echo "$modename: not configured to build any kind of library" 1>&2

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]