• Geoff Simmons's avatar
    Fix a bug in match(). · 47eae6cd
    Geoff Simmons authored
    The search may have matched a string that is actually a prefix of
    the subject string, if a longer string with the same prefix is also
    in the set.
    
    This "happens" to give correct results for match(), but which()
    would return the wrong value.
    
    The fix uses strcmp() instead of memcmp(), but that is also
    vectorized, where the C library uses vector instructions.
    47eae6cd
Name
Last commit
Last update
m4 Loading commit data...
pkg/rpm Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.rst Loading commit data...
COPYING Loading commit data...
INSTALL.rst Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...