file: fix `simplify_path` behavior for path starting with `.`.
authorAlexandre Terrasa <alexandre@moz-code.org>
Tue, 9 Jun 2015 17:20:34 +0000 (13:20 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Tue, 9 Jun 2015 17:20:34 +0000 (13:20 -0400)
commit93ea4dbbd34438c0cc28914fc17f11debe944f4f
tree08847fdc49e8c175d16f3a2ed88f5e746a4575d3
parentd77539e67599b049607518b54210d468bb685d6c
file: fix `simplify_path` behavior for path starting with `.`.

Before this PR `./` was simplified as `/` which is wrong.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/standard/file.nit