🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99474

Minor bug in regex.c

#99474
From: David Gillespie
Date: Tue, 28 Aug 1990 04:45
13 lines
937 bytes
I found this apparent bug in regex.c, version 18.55.

      if (0 <= val)
	{
	  if (val == -2)
	    return -2;
	  return startpos;
	}

I think these "if" statements were not meant to be nested.  As it is, an
"error" return from re_match_2 is not propagated by re_search_2.

								-- Dave
Technical Details
Message-ID: <9008280445.AA18266@csvax.cs.caltech.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!CSVAX.CS.CALTECH.EDU!daveg

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,65c0a0198f4e2dc8,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-08-27 21:45:09 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!CSVAX.CS.CALTECH.EDU!daveg
From: daveg@CSVAX.CS.CALTECH.EDU (David Gillespie)
Newsgroups: gnu.emacs.bug
Subject: Minor bug in regex.c
Message-ID: <9008280445.AA18266@csvax.cs.caltech.edu>
Date: 28 Aug 90 04:45:09 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 13
Posted: Tue Aug 28 05:45:09 1990