]> git.kaiwu.me - haproxy.git/commit
CLEANUP: sym: factor out the short object name extraction
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 28 Oct 2026 17:51:06 +0000 (18:51 +0100)
committerOlivier Houchard <cognet@ci0.org>
Thu, 29 Oct 2026 14:18:35 +0000 (15:18 +0100)
commit030ae75ff87b302a646f014751b70f33ad0ae6b0
tree8d8f2d1ca2c3fb3f33fa93eb93167ef35eb8bc79
parent1d84ea775a0e761284744fad788505ea6f5c640c
CLEANUP: sym: factor out the short object name extraction

dump_sym_lookup() and resolve_dso_name() both keep the part of an object's
path between the last '/' and the first following '.'. Introduce
append_obj_name() for it and use it in both places.
src/sym.c