Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marvin Scholz
libaacs
Commits
042cf8e6
Commit
042cf8e6
authored
Jan 23, 2015
by
npzacs
Browse files
Fix creating directory path in Windows
stat("C:") seems to fail.
parent
61460ba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/file/keydbcfg.c
View file @
042cf8e6
...
...
@@ -57,6 +57,9 @@ static int _mkpath(const char *path)
char
*
dir
=
str_printf
(
"%s"
,
path
);
char
*
end
=
dir
;
#ifdef _WIN32
end
+=
2
;
/* skip drive */
#endif
while
(
*
end
==
DIR_SEP_CHAR
)
end
++
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment