Date: Sun, 9 Jul 2000 10:36:53 -0700 (PDT) From: "Daniel C. Sobral" <dcs@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/regex engine.c Message-ID: <200007091736.KAA62708@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dcs 2000/07/09 10:36:53 PDT Modified files: lib/libc/regex engine.c Log: Since g->moffset points to the _maximum_ offset at which the must string may be found (from the beginning of the pattern), the point at which must is found minus that offset may actually point to some place before the start of the text. In that case, make start = start. Alternatively, this could be tested for in the preceding if, but it did not occur to me. :-) Caught by: regex(3) test code Revision Changes Path 1.9 +2 -2 src/lib/libc/regex/engine.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007091736.KAA62708>