diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-08-24 10:12:32 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-08-24 15:33:18 +0200 |
commit | 476f02bfa397959ba8a553a36cf5eaffc82b8f07 (patch) | |
tree | 2ededf3d652071c7c6c5bdc91b137418a7c923c3 /tests/custom/03_stdlib/25_ltrim | |
parent | d84b53aa06fbcf529deb413e18c5c4f3e562c6dc (diff) |
lib: simplify include_path()
Align the path resolving logic with compiler.c and use strrchr() and a
width limited printf pattern to extract the directory name portion.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/03_stdlib/25_ltrim')
0 files changed, 0 insertions, 0 deletions