mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +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);
|
||||
Vfs_server::Path fullpath(_root->path());
|
||||
fullpath.append(path_str);
|
||||
if (path_str[1] != '\0')
|
||||
fullpath.append(path_str);
|
||||
path_str = fullpath.base();
|
||||
|
||||
if (!create && !_vfs.directory(path_str))
|
||||
|
Loading…
Reference in New Issue
Block a user