bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool breaks if arg is explicit null string


From: John Reiser
Subject: libtool breaks if arg is explicit null string
Date: Tue, 12 Jun 2001 14:00:35 -0700

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 Reiser, voice/fax +1 503 297 3754, address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]