From 6d8747b886476b0b4e9d5512f29dd4df59f98271 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 19 Mar 2018 06:28:06 +1100 Subject: [PATCH] Fix introduced bug in real_path --- src/file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file.cc b/src/file.cc index 9625197f..de57fb6f 100644 --- a/src/file.cc +++ b/src/file.cc @@ -79,7 +79,7 @@ String real_path(StringView filename) { if (non_existing.empty()) return res; - return format("{}{}", res, non_existing); + return format("{}/{}", res, non_existing); } auto it = find(existing.rbegin() + 1, existing.rend(), '/');