summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorJames D. Smith <smithjd15@gmail.com>2021-09-18 21:09:24 -0600
committerSolomon Peachy <pizza@shaftnet.org>2021-09-19 21:05:58 -0400
commit760277e096cd35629166367352c108d6ab3b59c2 (patch)
tree75967beb624e48f51943ffa98ff562110e5c1d97 /firmware/export
parent67716c6b46a7780bff6b80408b3452c01bfbfdc4 (diff)
downloadrockbox-760277e096cd35629166367352c108d6ab3b59c2.tar.gz
rockbox-760277e096cd35629166367352c108d6ab3b59c2.zip
Dir cache: Fix resume of relative path playlists.
Slightly modified from original patch by Fabrice Bellard. Change-Id: I9ae04fa460f0f1b9c616e6f99505d4c5d4358f68
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/pathfuncs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/pathfuncs.h b/firmware/export/pathfuncs.h
index 92539c54c1..350dd4e548 100644
--- a/firmware/export/pathfuncs.h
+++ b/firmware/export/pathfuncs.h
@@ -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 */