glibc-2.1.1pre3 segfaults in make check do-tst-rpmatch

jvogel@linkny.com jvogel@linkny.com
Wed May 26 13:29:00 GMT 1999


On Mon, May 24, 1999 at 10:01:08AM -0400, jvogel@linkny.com wrote:
> 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:
> 
Sorry about this one. The patch I sent may temporarily fix things, but the
patch from Chet Ramey does the job properly:

> Chet wrote:
Try this patch.  Your line numbers will certainly vary.

*** subst.c~	Fri May 14 13:20:49 1999
--- subst.c	Mon May 24 11:30:37 1999
***************
*** 4972,4976 ****
      if (*temp1 != ' ' && *temp1 != '\t' && *temp1 != '\n')
  #endif
!       ifscmap[*temp1] = 1;
  
    /* Begin the expansion. */
--- 4972,4976 ----
      if (*temp1 != ' ' && *temp1 != '\t' && *temp1 != '\n')
  #endif
!       ifscmap[(unsigned char)*temp1] = 1;
  
    /* Begin the expansion. */

-- 



More information about the Libc-alpha mailing list