diff --git a/os/include/os/path.h b/os/include/os/path.h index 5285c348e..b9ba16392 100644 --- a/os/include/os/path.h +++ b/os/include/os/path.h @@ -177,9 +177,9 @@ namespace Genode { */ void _canonicalize() { + strip_superfluous_slashes(_path); strip_superfluous_dotslashes(_path); strip_double_dot_dirs(_path); - strip_superfluous_slashes(_path); remove_trailing('.', _path); }