[pcre-dev] [Bug 2128] New: pcreposix REG_STARTEND BSDism is …

Página superior
Eliminar este mensaje
Autor: admin
Fecha:  
A: pcre-dev
Asunto: [pcre-dev] [Bug 2128] New: pcreposix REG_STARTEND BSDism is not *BSD compatible
https://bugs.exim.org/show_bug.cgi?id=2128

            Bug ID: 2128
           Summary: pcreposix REG_STARTEND BSDism is not *BSD compatible
           Product: PCRE
           Version: 8.40
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: mackyle@???
                CC: pcre-dev@???


Created attachment 1019
--> https://bugs.exim.org/attachment.cgi?id=1019&action=edit
demonstrates bug -- see comments at top (head test.c)

If rm_so is greater than 0 it gives an answer that is
not compatible with the *BSD REG_STARTEND implementation.

Git's embedded copy of glibc suffers from the same problem
but it is outdated and current versions of glibc do give
a correct, *BSD compatible result for rm_so > 0 (and Git
happens to only ever use REG_STARTEND with an rm_so == 0).

The attached test.c file demonstrates the problem.

--Kyle

--
You are receiving this mail because:
You are on the CC list for the bug.