]> git.ipfire.org Git - thirdparty/systemd.git/commit
chase: Simplify chase_and_open() and chase_and_openat() 27064/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 24 Mar 2023 19:50:48 +0000 (20:50 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 30 Mar 2023 07:04:14 +0000 (09:04 +0200)
commit708e88704b970814092c216fe14c5f0e1bf09fdf
tree8f112d01c3bc86ffc6896f6291c771310e016d68
parentfedceeba2eb936286b79ba6f6c1a6067c82b3ec5
chase: Simplify chase_and_open() and chase_and_openat()

xopenat() now calls fd_reopen() if an empty path is specified, so
let's make use of that to simplify the chase open helpers.
src/basic/chase.c