ocaml-fileutils icon indicating copy to clipboard operation
ocaml-fileutils copied to clipboard

make_relative with relative path

Open gildor478 opened this issue 4 years ago • 0 comments

This bug has been migrated from artifact #666 on forge.ocamlcore.org. It was assigned to user102.

user102 posted on 2010-06-14 09:43:29:

There is no reason why make_relative fails when given a relative path:

FilePath.UnixPath.make_relative "src" "src/Base";;

Exception: FilePath.BaseFilenameRelative "src".

It should return "Base".

gildor478 avatar Oct 24 '20 15:10 gildor478