]> Kevux Git Server - fll/commit
Bugfix: Fix problems in f_file exposed by unit tests.
authorKevin Day <thekevinday@gmail.com>
Tue, 19 Apr 2022 03:27:58 +0000 (22:27 -0500)
committerKevin Day <thekevinday@gmail.com>
Tue, 19 Apr 2022 03:27:58 +0000 (22:27 -0500)
commit00bee85e3a0cbce2e1253a819860021542f6a76d
treea1506587b1b72c272b22b5217d57f4561a7f5b41
parent10ae1049f6941ebfd34d07565388f517471076dd
Bugfix: Fix problems in f_file exposed by unit tests.

Add _f_file_rename_use_renameat2_ to enable support for renameat2() for systems in which this is available.
Add flags parameter to rename function to automatically support this.

Add missing "!path.used" checks.
Add missing parameter checks.
Move parameter checks that should instead be file closed checks that process normally.
Consistently apply file closed checks.

The function private_f_file_role_change_at() needs to check that result is not an error before processing group.
Failure to do this may result in hiding an error.

Minor clean ups.
build/level_0/settings
build/monolithic/settings
level_0/f_file/c/file.c
level_0/f_file/c/file.h
level_0/f_file/c/private-file.c
level_0/f_file/data/build/defines
level_0/f_file/data/build/settings