[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: |
John Reiser |
Subject: |
Re: libtool breaks if arg is explicit null string |
Date: |
Tue, 12 Jun 2001 17:05:06 -0700 |
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" .
--
John Reiser, voice/fax +1 503 297 3754, address@hidden