diff options
author | 2018-11-16 05:05:44 +0000 | |
---|---|---|
committer | 2018-11-16 05:05:44 +0000 | |
commit | 49fb1b5767076b68c85f45503adec31ca9267b61 (patch) | |
tree | 90bd05ba3f60e061932a593d625a0244eb492735 /usr.bin/ssh/sshconnect.c | |
parent | use path_absolute() for pathname checks; from Manoj Ampalam (diff) | |
download | wireguard-openbsd-49fb1b5767076b68c85f45503adec31ca9267b61.tar.xz wireguard-openbsd-49fb1b5767076b68c85f45503adec31ca9267b61.zip |
Borrow an idea from DragonFly BSD: factor out the "does this symbol match what
we're looking up?" logic from _dl_find_symbol_obj() into matched_symbol(), so
that the former is just the "iterate across the hash" logic.
matched_symbol() returns zero on "not found", one on "found strong
symbol", and negative one on "found weak symbol". The last of those lets
the caller give up on this object after finding a weak symbol, as there's
no point in continuing to search for a strong symbol in the same object.
ok mpi@
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
0 files changed, 0 insertions, 0 deletions