diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-12-20 23:22:36 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-01-06 13:35:48 +1000 |
commit | 3a9a510ca873df123a117133c7cb3ebaa711159c (patch) | |
tree | eaf45ea5b0fa926e2037f2fbb67c853da52a894a /lib/libalpm/backup.h | |
parent | 8bf972824a331ebcb30de01103b26b92b6792d59 (diff) | |
download | 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 'lib/libalpm/backup.h')
0 files changed, 0 insertions, 0 deletions