
Simon McVittie
authored
Previously, we just used strrchr(), but that didn't actually return
the basename as in basename(1): we were comparing strings like
"/libc-2.17.so" or "/libglib-2.0.so.0.5600.0".
Signed-off-by:
Simon McVittie <smcv@collabora.com>