bug-bash
[Top][All Lists]
Advanced

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

[patch] bash 2.05a: A readline version detection problem


From: Maciej W. Rozycki
Subject: [patch] bash 2.05a: A readline version detection problem
Date: Fri, 18 Jan 2002 17:45:14 +0100 (MET)

Configuration Information:
Machine: i386
OS: linux-gnu
Compiler: i386-linux-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib -pipe 
-O2 -fomit-frame-pointer -mcpu=i486
uname output: Linux macro 2.4.17 #1 Wed Jan 9 13:16:36 CET 2002 i686 unknown
Machine Type: i386-pc-linux-gnu

Bash Version: 2.05a
Patch Level: 0
Release Status: release

Description:
        Due to a missing quoting the minor version number of installed
        readline is improperly detected.

Repeat-By:
        ./configure --with-installed-readline

Fix:
        As follows.

bash-2.05a-quote.patch
diff -up --recursive --new-file bash-2.05a.macro/aclocal.m4 
bash-2.05a/aclocal.m4
--- bash-2.05a.macro/aclocal.m4 Wed Nov  7 15:59:37 2001
+++ bash-2.05a/aclocal.m4       Thu Dec 20 03:36:28 2001
@@ -1655,7 +1655,7 @@ RL_MINOR=0
 case "$ac_cv_rl_version" in
 2*|3*|4*|5*|6*|7*|8*|9*)
        RL_MAJOR=`echo $ac_cv_rl_version | sed 's:\..*$::'`
-       RL_MINOR=`echo $ac_cv_rl_version | sed -e 's:^.*\.::' -e 
's:[a-zA-Z]*$::'`
+       RL_MINOR=`echo $ac_cv_rl_version | sed -e 's:^.*\.::' -e 
's:[[a-zA-Z]]*$::'`
        ;;
 esac
 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +




reply via email to

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