Merge: file: fix `simplify_path` behavior for path starting with `.`.
authorJean Privat <jean@pryen.org>
Wed, 10 Jun 2015 01:46:14 +0000 (21:46 -0400)
committerJean Privat <jean@pryen.org>
Wed, 10 Jun 2015 01:46:14 +0000 (21:46 -0400)
commit4c6f0cc412659a92010216b7897ea318ec933e7f
tree6834f40556f5f4d9041eba83f732e2cba479513b
parent2a539e2f6e82a14dfd3b8993cc3330226654c632
parent93ea4dbbd34438c0cc28914fc17f11debe944f4f
Merge: file: fix `simplify_path` behavior for path starting with `.`.

Before this PR `./` was simplified in `/` which was wrong.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

Pull-Request: #1368
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Romain Chanoir <chanoir.romain@courrier.uqam.ca>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>