]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include: cleanup close_range fallback
authorKarel Zak <kzak@redhat.com>
Mon, 13 Feb 2023 13:28:08 +0000 (14:28 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 13 Feb 2023 13:28:08 +0000 (14:28 +0100)
commitf191801c142e9fcf9d735b6b014aa1a18050a08d
tree01776c2729f7c4a496125cbcbf829ef36e8aa787
parent30c59d677fa54f72b5037df9c1bc2ba377a995cb
include: cleanup close_range fallback

* let's use && operator rather than if-if
* define HAVE_CLOSE_RANGE only if callback is really avalable

Signed-off-by: Karel Zak <kzak@redhat.com>
include/fileutils.h