[Bug regex/20381] different results between whether fastmap is available or not

adhemerval.zanella at linaro dot org sourceware-bugzilla@sourceware.org
Thu Jun 28 15:53:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=20381

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2018-06-28
         Resolution|OBSOLETE                    |---
     Ever confirmed|0                           |1

--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
I was fooled by the testcase provided which it does not check if 'setlocale'
was successful.  With the 'el_GR.iso88597' installed on my system now I see the
expected issues with master:

$ ./bz20381 
regexec returned 0 with fastmap, 0 without fastmap
 -> OK
regexec returned 1 with fastmap, 0 without fastmap
 -> FAIL
regexec returned 0 with fastmap, 0 without fastmap
 -> OK
regexec returned 0 with fastmap, 0 without fastmap
 -> OK
regexec returned 1 with fastmap, 0 without fastmap
 -> FAIL
regexec returned 0 with fastmap, 0 without fastmap
 -> OK
regexec returned 0 with fastmap, 0 without fastmap
 -> OK
regexec returned 1 with fastmap, 0 without fastmap
 -> FAIL
regexec returned 0 with fastmap, 0 without fastmap
 -> OK

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


More information about the Glibc-bugs mailing list