Skip to content

Fix build on Debian unstable

Simon McVittie requested to merge smcv/libcapsule:build-on-sid into master

process_pt_dynamic: Add missing 'break' to DT_JMPREL case

Without this, we fall through to the case for DT_BIND_NOW, which will log a misleading debug message before breaking out of the switch.

Thanks, gcc 8!


safe_strncpy: Work around -Werror=stringop-truncation

Ideally we should bubble up errors to the caller rather than silently truncating, but if we have to truncate, let's at least be sufficiently explicit about it that gcc 8 doesn't sulk.

Merge request reports