[gnu.bash.bug] bashed bug

james@bigtex.cactus.org (James Van Artsdalen) (06/11/89)

extract_command_subst() in subst.c appears to have a typo, "==" instead of "=".
Here's a patch: line numbers are approximate.

*** /tmp/,RCSt1a12423	Sun Jun 11 11:20:34 1989
--- subst.c	Sun Jun 11 11:18:52 1989
***************
*** 179,185 ****
        else
  	{
  	  if (c == '"' || c == '\'' || c == '\\')
! 	    delimiter == c;
  	}
      }
  
--- 186,192 ----
        else
  	{
  	  if (c == '"' || c == '\'' || c == '\\')
! 	    delimiter = c;
  	}
      }
  

-- 
James R. Van Artsdalen          james@bigtex.cactus.org   "Live Free or Die"
Dell Computer Co    9505 Arboretum Blvd Austin TX 78759         512-338-8789