Dir cache: Fix resume of relative path playlists.

Slightly modified from original patch by Fabrice Bellard.

Change-Id: I9ae04fa460f0f1b9c616e6f99505d4c5d4358f68
This commit is contained in:
James D. Smith 2021-09-18 21:09:24 -06:00 committed by Solomon Peachy
parent 67716c6b46
commit 760277e096
3 changed files with 57 additions and 4 deletions

View file

@ -82,6 +82,7 @@ size_t path_basename(const char *name, const char **nameptr);
size_t path_dirname(const char *name, const char **nameptr);
size_t path_strip_trailing_separators(const char *name, const char **nameptr);
void path_correct_separators(char *dstpath, const char *path);
void path_remove_dot_segments(char *dstpath, const char *path);
/* constants useable in basepath and component */
#define PA_SEP_HARD NULL /* separate even if base is empty */