Re: Nit in func_win32_libid (branch-1.5)

2005-11-10 Thread Ralf Wildenhues
Hi Charles,

* Charles Wilson wrote on Thu, Nov 10, 2005 at 04:07:47AM CET:
> This has been bugging me since we last looked at this piece of code 
> (2005-09-25) and we didn't take the opportunity to fix it then.
> 
> Should be obvious...also "needed" in ltmain.m4sh of HEAD.

Thank you for the patch.  Applied to HEAD and branch-1-5.

Cheers,
Ralf

> 2005-11-09  Charles Wilson  <[EMAIL PROTECTED]>
> 
>   * ltmain.in (func_win32_libid): use $SED not sed.
> 
> --
> Chuck

> Index: ltmain.in
> ===
> RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
> retrieving revision 1.334.2.94
> diff -u -r1.334.2.94 ltmain.in
> --- ltmain.in 7 Nov 2005 22:54:24 -   1.334.2.94
> +++ ltmain.in 10 Nov 2005 02:54:19 -
> @@ -157,7 +157,7 @@
>  if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
>$EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; 
> then
>win32_nmres=`eval $NM -f posix -A $1 | \
> - sed -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
> + $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
>case $win32_nmres in
>import*)  win32_libid_type="x86 archive import";;
>*)win32_libid_type="x86 archive static";;




Nit in func_win32_libid (branch-1.5)

2005-11-09 Thread Charles Wilson
This has been bugging me since we last looked at this piece of code 
(2005-09-25) and we didn't take the opportunity to fix it then.


Should be obvious...also "needed" in ltmain.m4sh of HEAD.

2005-11-09  Charles Wilson  <[EMAIL PROTECTED]>

* ltmain.in (func_win32_libid): use $SED not sed.

--
Chuck
Index: ltmain.in
===
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.94
diff -u -r1.334.2.94 ltmain.in
--- ltmain.in   7 Nov 2005 22:54:24 -   1.334.2.94
+++ ltmain.in   10 Nov 2005 02:54:19 -
@@ -157,7 +157,7 @@
 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
   $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
   win32_nmres=`eval $NM -f posix -A $1 | \
-   sed -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
+   $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
   case $win32_nmres in
   import*)  win32_libid_type="x86 archive import";;
   *)win32_libid_type="x86 archive static";;