summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/grot/debug.c
diff options
context:
space:
mode:
authordcs <dcs@FreeBSD.org>2000-07-09 17:36:53 +0000
committerdcs <dcs@FreeBSD.org>2000-07-09 17:36:53 +0000
commit13a9107aac37e67e8ab42faaa4fd3b52bdb7c406 (patch)
treebc641dc4933443e060c47117f79a0ce430b20434 /lib/libc/regex/grot/debug.c
parentb42c412805b2d1944c8ae8bb09c9e16ae819cb71 (diff)
downloadFreeBSD-src-13a9107aac37e67e8ab42faaa4fd3b52bdb7c406.zip
FreeBSD-src-13a9107aac37e67e8ab42faaa4fd3b52bdb7c406.tar.gz
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
Diffstat (limited to 'lib/libc/regex/grot/debug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud