[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool breaks if arg is explicit null string
From: |
Robert Boehne |
Subject: |
Re: libtool breaks if arg is explicit null string |
Date: |
Tue, 12 Jun 2001 17:25:21 -0500 |
John Reiser wrote:
>
> ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)
>
> In --mode=execute, an explicit null string '' is not handled correctly
> when testing for a library name that must be massaged.
> The sed utility winds up reading stdin, which clearly is bogus.
>
> Change
> -----ltmain.in:4241, 4547, 4714 [3 places]
> (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE")
> >/dev/null 2>&1; then
> -----becomes
> (sed -e '4q' "$file" | egrep "^# Generated by .*$PACKAGE")
> >/dev/null 2>&1; then
> -----
> Note the added double quotes.
>
John:
Why are you trying to execute '' ?
If you're looking for somthing to fix in Libtool, I think somthing
could be found... ;) You could check the TODO file, or you could
fix libtool to use files with $ in their names. Also, check the
web pages on contributing for the required content and format.
(Hope I didn't scare you off!)
Robert
--
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email: address@hidden