libtool-patches
[Top][All Lists]
Advanced

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

win32_libid() fix


From: Naofumi Yasufuku
Subject: win32_libid() fix
Date: Mon, 31 Mar 2003 00:30:34 +0900
User-agent: Wanderlust/2.8.1 (Something) SEMI/1.14.4 (Hosorogi) FLIM/1.14.4 (Kashiharajingū-mae) APEL/10.3 Emacs/21.2 (i386-mingw-nt5.1.2600) MULE/5.0 (SAKAKI)

Hi,

I found a sed expression error in win32_libid() shell function.
sed complains at win32_nmres evaluation as follows.

  sed: -e expression #1, char 46: Extra characters after command

The following patch fixes this.

-------------------------------------------------------------------------------

Index: ChangeLog
===================================================================
RCS file: /cvsroot/libtool/libtool/ChangeLog,v
retrieving revision 1.1212
diff -u -r1.1212 ChangeLog
--- ChangeLog   29 Mar 2003 05:06:46 -0000      1.1212
+++ ChangeLog   30 Mar 2003 15:07:37 -0000
@@ -1,3 +1,8 @@
+2003-03-31  Naofumi Yasufuku  <address@hidden>
+
+       * ltmain.in (win32_libid): Fixed sed expression error in
+       win32_nmres evaluation.
+
 2003-03-28  Richard Dawe  <address@hidden>
 
        * Makefile.am: Define CONF_SUBDIRS.
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.330
diff -u -r1.330 ltmain.in
--- ltmain.in   29 Mar 2003 04:09:00 -0000      1.330
+++ ltmain.in   30 Mar 2003 15:07:39 -0000
@@ -132,7 +132,7 @@
     if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
       grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
       win32_nmres=`eval $NM -f posix -A $1 | \
-        sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;}}'`
+        sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
       if test "X$win32_nmres" = "Ximport" ; then
         win32_libid_type="x86 archive import"
       else

-------------------------------------------------------------------------------

Regards,
--Naofumi




reply via email to

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