chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:35 +0000 (17:58 +0200)
commitc7a64b3cac7ac3db89bbe0b9b1e826cd65e44b5d
tree70e9098048cdaeef71ec65cd1d10ed8c0eda3412
parent109cb9ef1b95f791b8cad2fa2459882c122edc54
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