mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-11 23:43:15 +00:00
parent
c1493b2ed2
commit
97c5e21ed6
@ -427,7 +427,8 @@ class Vfs_server::Session_component : public File_system::Session_rpc_object,
|
|||||||
|
|
||||||
_assert_valid_path(path_str);
|
_assert_valid_path(path_str);
|
||||||
Vfs_server::Path fullpath(_root->path());
|
Vfs_server::Path fullpath(_root->path());
|
||||||
fullpath.append(path_str);
|
if (path_str[1] != '\0')
|
||||||
|
fullpath.append(path_str);
|
||||||
path_str = fullpath.base();
|
path_str = fullpath.base();
|
||||||
|
|
||||||
if (!create && !_vfs.directory(path_str))
|
if (!create && !_vfs.directory(path_str))
|
||||||
|
Loading…
Reference in New Issue
Block a user