mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
FS#13519: multivolume: Ensure absolute paths get drive designation
Change-Id: I8419af670ca101b11bba29d9fd577f21fa22fd42
This commit is contained in:
parent
aeb4b6c34a
commit
7d3cc24dec
2 changed files with 36 additions and 5 deletions
|
|
@ -70,7 +70,7 @@
|
|||
flushed to disk when required.
|
||||
*/
|
||||
|
||||
//#define LOGF_ENABLE
|
||||
// #define LOGF_ENABLE
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
|
@ -592,6 +592,8 @@ static ssize_t format_track_path(char *dest, char *src, int buf_length,
|
|||
dlen = -1u;
|
||||
}
|
||||
|
||||
logf("dir: %s", dir);
|
||||
|
||||
len = path_append_ex(dest, dir, dlen, src, buf_length);
|
||||
if (len >= (size_t)buf_length)
|
||||
return -1; /* buffer too small */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue