diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-12-21 05:22:36 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-01-06 04:35:48 +0100 |
commit | 3a9a510ca873df123a117133c7cb3ebaa711159c (patch) | |
tree | eaf45ea5b0fa926e2037f2fbb67c853da52a894a /src | |
parent | 8bf972824a331ebcb30de01103b26b92b6792d59 (diff) | |
download | pacman-3a9a510ca873df123a117133c7cb3ebaa711159c.tar.gz pacman-3a9a510ca873df123a117133c7cb3ebaa711159c.tar.xz |
do not rely on name hashes for matching
6cfc4757b98e813428d261dbc185e20618ca83a6 was overzealous in attempting
to optimize away a call to strcmp based on a comparison of hashes. The
call can be skipped if the hashes are different, but different strings
could have the same hash.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions