summaryrefslogtreecommitdiff
path: root/src/test/test-unaligned.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-31 23:39:31 +0900
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commit7851cfbcac23fc8c8e167c3691a1f63fd277fa1a (patch)
treee3705f1281ae5b87b068f86390836dd2d40069ef /src/test/test-unaligned.c
parent72307dc710d1300f40f62bab025b9a794f1e5d08 (diff)
path-util: introduce path_simplify()
The function is similar to path_kill_slashes() but also removes initial './', trailing '/.', and '/./' in the path. When the second argument of path_simplify() is false, then it behaves as the same as path_kill_slashes(). Hence, this also replaces path_kill_slashes() with path_simplify().
Diffstat (limited to 'src/test/test-unaligned.c')
0 files changed, 0 insertions, 0 deletions