[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: |
Alexandre Oliva |
Subject: |
Re: libtool breaks if arg is explicit null string |
Date: |
17 Jun 2001 16:46:43 -0300 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Academic Rigor) |
On Jun 14, 2001, Robert Boehne <address@hidden> wrote:
> John Reiser wrote:
>>
>> Robert Boehne wrote:
>> >
>> > 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
>> [snipped]
>>
>> > Why are you trying to execute '' ?
>>
>> The command line is
>> libtool --mode=execute myprog arg1 '' arg3
>>
>> where the second argument to myprog is an explicit null string.
>> But libtool hangs ['sed' reading stdin] during the check for whether
>> the null string argument is the name of a library that libtool
>> must change to reflect uninstalled status or not. The null
>> argument is the business of myprog.
>>
>> In general, any "$file" containing shell metacharacters will cause
>> trouble because
>> sed -e 4q $file | ...
>> forgot to quote "$file" .
>>
> OK, I see. Do any of the maintainers have a problem with such
> a change?
Nope, this change is correct. Feel free to install it. Thanks for
the patch, John!
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me