]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/mkdir: use timespec_store instead of _nsec for mkdir_p_root_full
authorMike Yuan <me@yhndnzj.com>
Tue, 7 May 2024 12:13:55 +0000 (20:13 +0800)
committerMike Yuan <me@yhndnzj.com>
Tue, 7 May 2024 16:18:27 +0000 (00:18 +0800)
commit158681f0f97d1efe9c7edf06aa86230964b8d0e6
treed36cc281abae62e7bad9de70a4ebc4f53b824b38
parent026335e9aab5ccf1fc9477215beadd0acef94073
basic/mkdir: use timespec_store instead of _nsec for mkdir_p_root_full

Follow-up for 34c3d574742e867ef97e79509e4051a82f1b7d9b

O_RDONLY is dropped when O_DIRECTORY is specified, since
it's unnecessary and even arguably confusing here, as
the dir is modified.
src/basic/mkdir.c
src/test/test-mkdir.c