]> git.ipfire.org Git - thirdparty/systemd.git/commit
util-lib: accept invoking chase_symlinks() with a NULL return parameter
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Dec 2016 16:15:06 +0000 (17:15 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Dec 2016 19:00:08 +0000 (20:00 +0100)
commit245f1d244b3a91e7cc18ed2d21226292251b934d
tree196b04d8d105ca47052178a8a28f6f70403b8727
parentdee22f39707699d3cd8a3bb9cde4ce85486fbebd
util-lib: accept invoking chase_symlinks() with a NULL return parameter

Let's permit invoking chase_symlinks() with a NULL return parameter. If so, the
resolved name is not returned, and call is useful for checking for existance of
a file, without actually returning its ultimate path.
src/basic/fs-util.c