mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
When specifying "/" or "" as rel_path to the 'Directory' constructor, the constructed directory should refer to the same directory. The implementation of the join utility did not consider this corner case. It occurred during the attempt to use fs_query with "/" given as path. This patch also adds a Directory::Entry::dir accessor that returns true if the entry is a directory. Fixes #3630
This source-code repository contains genuine low-level OS components and interfaces of Genode. It solely depends on the framework's base API.