]> Kevux Git Server - fll/commit
Update: Add missing checks to f_file_link_hard_at() and use F_file_descriptor.
authorKevin Day <thekevinday@gmail.com>
Sat, 16 Apr 2022 03:08:40 +0000 (22:08 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 16 Apr 2022 03:08:40 +0000 (22:08 -0500)
commit141076fdff1fa6a918eb4d276c95f94b92c31771
tree3faff19cf6fd5401afc7e4e264a5a76e73fe2126
parent674001e9eb0e3eaf2761f137d9eff6e46a23f90d
Update: Add missing checks to f_file_link_hard_at() and use F_file_descriptor.

The F_data_not tests are missing, add them.

The EBADF is returning F_directory_descriptor.
In this specific case, the descriptor is not for a directory per-say but for a general file.
The F_file_descriptor code should be returned in this case.

This has been revealed by the unit tests that I am writing.
level_0/f_file/c/file.c
level_0/f_file/c/file.h
level_0/f_file/c/private-file.c