diff options
| author | Enrico Tassi | 2015-01-22 10:35:48 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2015-02-03 11:04:14 +0100 |
| commit | 6a2a6b9920bd09e7744463af31dde65748ad5767 (patch) | |
| tree | 9c136588798df63312068607a84f4ab00a576108 | |
| parent | 777f0ace3d2458cbe1840dcf3d8f350452721e84 (diff) | |
spit module path using / as directory separator
I know it seems wrong but if you call coq to get a path, you are likely
to pass it around, and this makes the dir separator of windows "\"
disappear immediately being interpreted as an escape character.
In cygwin "/" is also understood as a directory separator.
| -rw-r--r-- | toplevel/coqtop.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml index 142f338674..0b9bb2f2ee 100644 --- a/toplevel/coqtop.ml +++ b/toplevel/coqtop.ml @@ -378,7 +378,7 @@ let schedule_vio_compilation () = let get_native_name s = (* We ignore even critical errors because this mode has to be super silent *) try - String.concat Filename.dir_sep [Filename.dirname s; + String.concat "/" [Filename.dirname s; Nativelib.output_dir; Library.native_name_from_filename s] with _ -> "" |
