🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #1031

bashed bug

#1031
From: James Van Artsdalen
Date: Sun, 11 Jun 1989 16:22
26 lines
973 bytes
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
Technical Details
Message-ID: <17952@bigtex.cactus.org>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!texbell!bigtex!james

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!texbell!bigtex!james
From: james@bigtex.cactus.org (James Van Artsdalen)
Newsgroups: gnu.bash.bug
Subject: bashed bug
Message-ID: <17952@bigtex.cactus.org>
Date: 11 Jun 89 16:22:42 GMT
Organization: Institute of Applied Cosmology, Austin TX
Lines: 26