]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: virfilemock: realpath: Allow non-null second parameter
authorTim Wiederhake <twiederh@redhat.com>
Thu, 6 May 2021 15:08:34 +0000 (17:08 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 14 Jun 2021 10:05:50 +0000 (12:05 +0200)
commita86682c57e46b56d1bfdc1d23ca2b6b7ab2eb3ee
tree0a5e7a27335e3807434f23a5588eda1653f3cc56
parentc9ced46673941b846e4d0a82997310534085f79b
tests: virfilemock: realpath: Allow non-null second parameter

When other preloaded libraries wrap and / or make calls to `realpath`
(e.g. LLVM's AddessSanitizer), the second parameter is no longer
guaranteed to be NULL.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
build-aux/syntax-check.mk
tests/virfilemock.c