gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5388-gb00c3aa6


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5388-gb00c3aa6
Date: Wed, 18 Oct 2023 06:22:19 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, feature/minrx has been updated
       via  b00c3aa68edc64a63a8bc8efb0f5426d212504ba (commit)
      from  70cfe5a210e3d0dd02211595c20c16ff40034cbc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=b00c3aa68edc64a63a8bc8efb0f5426d212504ba

commit b00c3aa68edc64a63a8bc8efb0f5426d212504ba
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Wed Oct 18 13:21:57 2023 +0300

    Small fix in re.c.

diff --git a/re.c b/re.c
index 3388f117..7341efb5 100644
--- a/re.c
+++ b/re.c
@@ -421,7 +421,7 @@ research(Regexp *rp, char *str, int start,
                        need_start ? rp->mre_regs : NULL,
                        minrx_flags);
        if (res == 0)
-               res = rp->mre_regs[0].rm_so;
+               res = rp->mre_regs[0].rm_so + start;
        else
                res = -1;
 #endif

-----------------------------------------------------------------------

Summary of changes:
 re.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]