windows: Fix path for file sanitization
authorWander Lairson Costa <wander.lairson@gmail.com>
Tue, 23 Jun 2020 15:21:10 +0000 (15:21 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 6 Jul 2020 23:17:15 +0000 (08:17 +0900)
commite99871758c9a216419078b2fdca60e6e99835997
tree71eadda7248e92f33c3510b34424580797351157
parent9d89fe42401fc63bda58617ac3e5f7e3c889372a
windows: Fix path for file sanitization

```
> c:\
> cd /windows
```

Are valid paths. Paths starting with '\' or '/' should be considered
absolute paths.

Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br>
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D12022
src/lib/evil/evil_util.c
src/tests/eina/eina_test_file.c