mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
committed by
Christian Helmuth
parent
a91467f3a8
commit
ffb48ed030
@@ -54,6 +54,10 @@ bool create_directories(Genode::String<N> const &path)
|
||||
if (!end_of_elem && !end_of_path)
|
||||
continue;
|
||||
|
||||
/* handle leading '/' */
|
||||
if (end_of_elem && (sub_path_len == 0))
|
||||
continue;
|
||||
|
||||
Genode::String<N> sub_path(Genode::Cstring(path.string(), sub_path_len));
|
||||
|
||||
/* create directory for sub path if it does not already exist */
|
||||
|
||||
Reference in New Issue
Block a user