mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-10 22:44:30 +00:00
parent
ffb48ed030
commit
f4b06be24b
@ -216,6 +216,10 @@ struct Fetchurl::Main
|
||||
if (!end_of_elem)
|
||||
continue;
|
||||
|
||||
/* handle leading '/' */
|
||||
if (end_of_elem && (sub_path_len == 0))
|
||||
continue;
|
||||
|
||||
Genode::String<256> sub_path(Genode::Cstring(out_path, sub_path_len));
|
||||
|
||||
/* skip '/' */
|
||||
|
Loading…
x
Reference in New Issue
Block a user