From 9dc213b2960c938933a83bc22835da5d2b31005c Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Fri, 21 Sep 2012 19:15:22 +0200 Subject: [PATCH] 'Genode::Path': Remove superfluous slashes first Fixes #367. --- os/include/os/path.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }