ocaml-fileutils
ocaml-fileutils copied to clipboard
make_relative with relative path
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".