]> Kevux Git Server - fll/commit
Update: Improve f_file_name_directory() and f_file_name_base().
authorKevin Day <thekevinday@gmail.com>
Wed, 16 Feb 2022 01:06:00 +0000 (19:06 -0600)
committerKevin Day <thekevinday@gmail.com>
Wed, 16 Feb 2022 01:06:00 +0000 (19:06 -0600)
commitd1b6e6eb5d0a96ee833d9c2d38041c853d38cd57
treedeee9ed4dc4bf3944c538256703c7ccc9b32b104
parentc6b16ea51a14b801079f51c102ba68ffa8c4517a
Update: Improve f_file_name_directory() and f_file_name_base().

Have both of these functions include a NULL at the end to make compatibility with NULL terminated strings easier.

The directory name should not return "." when the directory is the current directory.
Replace this with an empty string.
level_0/f_file/c/file.c
level_0/f_file/c/file.h