handa@etlcom.etl.JUNET (Kenichi Handa) (09/15/89)
At the tail of function 're_search_2' in src/regex.c (GNU
Emacs 18.55), I found the following strange code:
if (0 <= val)
{
if (val == -2)
return -2; <---
return startpos;
}
The line indicated by an arrow is never executed. It should
be:
if (0 <= val) return startpos;
else if (val == -2) return -2;
-- Ken'ichi HANDA
JUNET: handa@etl.junet CSNET: handa@etl.jp
ARPA: handa%etl.jp@relay.cs.net
VOICE: JAPAN-298-58-5916 FAX: JAPAN-298-58-5918
ADDRESS: Machine Inference Section, ElectroTechnical Laboratory
Umezono 1-1-4, Tsukuba City, JAPAN, 305