> seen with bash-4.2.6 with gcc-4.5, configured on i686-linux-gnu with
> --enable-targets=all --with-arch-32=i686, works with bash-4.1:
> 
>                         case X"${with_cpu}" in

Here's a fix.  This is very similar to bash42-004.

Chet

*** ../bash-4.2-patched/subst.c 2011-02-25 12:03:58.000000000 -0500
--- subst.c     2011-03-03 14:08:23.000000000 -0500
***************
*** 4609,4614 ****
--- 4611,4617 ----
    if (ifs_firstc == 0)
  #endif
      word->flags |= W_NOSPLIT;
+   word->flags |= W_NOSPLIT2;
    result = call_expand_word_internal (word, quoted, 0, (int *)NULL, (int 
*)NULL);
    expand_no_split_dollar_star = 0;
  

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to