]> git.ipfire.org Git - thirdparty/systemd.git/commit
util: fall back in rename_noreplace when renameat2 isn't implemented 473/head
authorRichard Maw <richard.maw@codethink.co.uk>
Thu, 2 Jul 2015 13:04:34 +0000 (13:04 +0000)
committerRichard Maw <richard.maw@codethink.co.uk>
Thu, 2 Jul 2015 13:47:04 +0000 (14:47 +0100)
commit715d7599051602471d4a54bbc00639d32ddaaae2
tree8a15fb457c93ddcfc1a98c0d8fd3d7010f69c428
parent9ebdb1e057045d2b96f5980c61667cd41914177b
util: fall back in rename_noreplace when renameat2 isn't implemented

According to README we only need 3.7, and while it may also make sense
to bump that requirement when appropriate, it's trivial to fall back
when renameat2 is not available.
src/basic/util.c