[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: win32_libid() fix
From: |
Naofumi Yasufuku |
Subject: |
Re: win32_libid() fix |
Date: |
Mon, 31 Mar 2003 04:19:47 +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) |
At Sun, 30 Mar 2003 14:00:35 -0500,
Charles Wilson wrote:
>
> Naofumi Yasufuku wrote:
>
> > 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
> >
>
> That's odd. The original command works here, with GNU sed on cygwin.
> What version of sed do you have?
>
>
> > - 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;};}'`
>
> However, the fix looks fine to me and ALSO works with GNU sed on cygwin.
> So, I've no problems with this patch.
>
> --Chuck
>
I use GNU sed on cygwin.
$ which sed
/usr/bin/sed
$ sed --version
GNU sed version 3.02
Copyright (C) 1998 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
Because of this error, win32_libid() library detection fails and it
returns "unknown", so that DLL link doesn't work at all.
Regards,
--Naofumi