This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu 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: Make check fails with bash-2.03


>>>>> Marcus Harnisch writes:

 > Hi All,
 > did anybody out there also encounter a segmentation fault of bash-2.03 
 > when doing a `make check' after `make'-ing glibc-2.1?
Anybody?  Everybody using bash 2.03. :-(  Search wwwgnats for details.

 > The script that triggers the bug is
 >   glibc-2.1/localedata/tst-rpmatch.sh

 > The script changes the IFS variable to § (section sign) which bash
 > does not seem to like (It also doesn't like ¥ (yen),¤ (currency) and ¦
 > (broken bar)). I would suggest, that until this (possible) bug has
 > been fixed in bash, the glibc-developers choose a different character.

 > Regards,
 > 	Marcus

 > PS: I did already send a bug report via bashbug.
Not neccessary.  It's a known and fixed bug.

Here's a patch:
*** 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. */

Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de

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