diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-04-27 19:19:50 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-04-27 19:19:50 +0200 |
commit | 8df54926f2ad80ae46a4cc701f3341e97839e0c8 (patch) | |
tree | a93c6821454f166f9a6c62fcfadf215d1ca6ae97 /strlcpy.c | |
parent | 70b777831a80a7a204f02697563d39dba612c8c4 (diff) |
resolve absolute paths to repodir, remove basename just use strrchr.
- resolve repodir, for example: stagit-index ../ used to use ".." as the name,
now it will resolve to the real directory name.
- just use strrchr(path, '/') instead of basename, '/' path separator is now
used.
Diffstat (limited to 'strlcpy.c')
0 files changed, 0 insertions, 0 deletions