[PATCH] regex: fix backreference matching

2021-06-16 Thread Egor Ignatov
This fixes a bug described in 70b673eb7. * lib/regexec.c (set_regs): Revert pop condition changed in the commit mentioned above. (proceed_next_node): Always proceed on OP_BACK_REF to the next node if naccepted is 0. (update_regs): Fix optional sub expression boundaries matching. * tests/test-regex

Re: [PATCH] regex: fix backreference matching

2021-06-16 Thread Dmitry V. Levin
On Wed, Jun 16, 2021 at 12:46:15PM +0300, Egor Ignatov wrote: > This fixes a bug described in 70b673eb7. [...] > - { "^(a*)*(.)", "ab", REG_EXTENDED, 3, { { 0, 2 }, { 0, 1 }, { 1, 2 } } }, > + { "^(a*)*(.)", "ab", REG_EXTENDED, 3, { { 0, 2 }, { 1, 1 }, { 1, 2 } } }, Sorry, but how this could be

Re: [PATCH] regex: fix match with possessive quantifier

2021-06-16 Thread Dmitry V. Levin
On Mon, Jun 07, 2021 at 04:10:27AM +0300, Dmitry V. Levin wrote: > On Mon, Jun 07, 2021 at 12:45:02AM +0300, Dmitry V. Levin wrote: > > On Wed, May 26, 2021 at 12:08:19PM +0300, Egor Ignatov wrote: > > > Fix behaviour introduced in 70b673e, where regexps with > > > possessive quantifier("*+") didn'

Re: Seeking input from developers: glibc copyright assignment policy.

2021-06-16 Thread Eli Zaretskii
> From: Paul Smith > Date: Tue, 15 Jun 2021 12:32:35 -0400 > > On Tue, 2021-06-15 at 07:03 -0500, Eric Blake wrote: > > I recall how long it took for me to get permission to sign assignment > > papers from my previous employer, for work I was doing in my spare > > time, and being able to use the

Re: Seeking input from developers: glibc copyright assignment policy.

2021-06-16 Thread Dmitry V. Levin
On Mon, Jun 14, 2021 at 01:39:26PM -0700, Paul Eggert wrote: > A proposal to change the glibc copyright assignment policy is being > circulated on libc-alpha. The email thread starts at > , and > the text of the email seeking inp

Re: Seeking input from developers: glibc copyright assignment policy.

2021-06-16 Thread Paul Smith
On Tue, 2021-06-15 at 22:08 +0100, Pádraig Brady wrote: > Yes the fact that one needs to repeat this process as one changes > employers is very awkward. This is exactly what I was worried about with my previous message: people saying "it's awkward to get my employer to assign copyright so I'd rath

tsearch: Relicense under LGPLv2+

2021-06-16 Thread Bruno Haible
I need the module 'tsearch' under LGPLv2+, for use in GNU libintl. Fortunately it is easy to do, because - It was under LGPLv2+ when I took the source code from glibc in 2006 (see ). - The only significant changes to lib/t