bareos: master eec82800

Author Committer Branch Timestamp Parent
Andreas Rogge Andreas Rogge master 2022-01-28 18:04 master 4e68f7db Pending
Changeset lib: remove pointer-artihmetic from hlist<>

Previously hlist<> got two pointers on construction that were used to
determine the offset of T::link at runtime. As this is now done at
compile-time, the pointer-arithmetic is not needed anymore and
construction doesn't need the pointers anymore.
This patch removes the pointers, finally removing the undefined
behaviour from hlist.
mod - core/src/cats/bvfs.cc Diff File
mod - core/src/dird/ndmp_fhdb_mem.cc Diff File
mod - core/src/filed/accurate_htable.cc Diff File
mod - core/src/findlib/hardlink.cc Diff File
mod - core/src/lib/htable.cc Diff File
mod - core/src/lib/htable.h Diff File
mod - core/src/lib/path_list.cc Diff File
mod - core/src/lib/tree.cc Diff File
mod - core/src/tests/htable_test.cc Diff File