libdpkg, dpkg: Use varbuf_add_dir() instead of _add_str() + _add_char()
This refactors this repeating pattern, and in addition makes sure we never add a directory separator in excess if it was already present in the added dirname. Changelog: internal
parent
5d2363cd
No related branches found
No related tags found
Showing
- lib/dpkg/db-ctrl-access.c 1 addition, 2 deletionslib/dpkg/db-ctrl-access.c
- lib/dpkg/db-ctrl-format.c 1 addition, 2 deletionslib/dpkg/db-ctrl-format.c
- lib/dpkg/db-ctrl-upgrade.c 1 addition, 2 deletionslib/dpkg/db-ctrl-upgrade.c
- lib/dpkg/trigdeferred.c 1 addition, 2 deletionslib/dpkg/trigdeferred.c
- lib/dpkg/triglib.c 1 addition, 2 deletionslib/dpkg/triglib.c
- src/main/remove.c 1 addition, 2 deletionssrc/main/remove.c
Loading
Please register or sign in to comment