This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc-2.1.1pre3 segfauls in make check do-tst-rpmatch


On Thu, May 20, 1999 at 07:47:07PM -0300, Garst R. Reese wrote:
> > >Description:
> >         During make check I get Segmentation Fault in do-tst-rpmatc
> > 
> > >How-To-Repeat:
> >         make check
> > >Fix:   unknown

This is most definitely a bug in bash-2.03. Bash versions 2.02 and 2.02.1
do not exhibit this problem in 'make check' for glibc-2.1.1pre3. I have
made a small patch that I have submitted to bug-bash@gnu.org and that so far
has fixed things for me with out breaking anything else. Your mileage may
vary. Here's the patch that to be applied from the bash-2.03 source
top level directory:

---cut here---

--- subst.c	Wed Jan 20 12:13:52 1999
+++ subst.c.new	Mon May 24 09:32:20 1999
@@ -4877,7 +4877,7 @@
        ${abc:-G { I } K } as one word when it should be three. */
     if (*temp1 != ' ' && *temp1 != '\t' && *temp1 != '\n')
 #endif
-      ifscmap[*temp1] = 1;
+      ifscmap[temp1-temp] = *temp1;
 
   /* Begin the expansion. */

---cut here---

John Vogel <jvogel@linkny.com>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]