diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-04 14:40:56 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-28 13:44:38 +0900 |
commit | 0195046449fc1cf946fe3087b7304a600453dbdd (patch) | |
tree | 940a826836968b4c469e122aab16d15263e307b6 /src/basic/tmpfile-util.c | |
parent | 484cd43cae536d952cd84abfda3260235dc893cc (diff) | |
download | systemd-0195046449fc1cf946fe3087b7304a600453dbdd.tar.gz |
path-util: make path_extract_filename/directory() handle "." gracefully
This makes the functions handle "xx/" and "xx/." as equivalent.
Moreover, now path_extract_directory() returns normalized path, that is
no redundant "/" or "/./" are contained.
Diffstat (limited to 'src/basic/tmpfile-util.c')
0 files changed, 0 insertions, 0 deletions