diff options
| author | Xavier Leroy <xavier.leroy@inria.fr> | 2000-08-04 10:09:23 +0000 |
|---|---|---|
| committer | Xavier Leroy <xavier.leroy@inria.fr> | 2000-08-04 10:09:23 +0000 |
| commit | 668286f4e9ffc0f15266a999d39531fd0b87ee61 (patch) | |
| tree | 6f9bfc89a8a46300c6e9370b200a3704d0fc15ca | |
| parent | bda548635fe91b9faa5b3fc7587b0c20b9feaf68 (diff) | |
| download | ocaml-668286f4e9ffc0f15266a999d39531fd0b87ee61.tar.gz | |
Ouvrir le source en mode binaire pour avoir des numeros de caracteres corrects (PR#175)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3266 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
| -rw-r--r-- | tools/ocamldep.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ocamldep.ml b/tools/ocamldep.ml index 68b455883d..04e81477da 100644 --- a/tools/ocamldep.ml +++ b/tools/ocamldep.ml @@ -313,7 +313,7 @@ let file_dependencies source_file = if Sys.file_exists source_file then begin try free_structure_names := StringSet.empty; - let ic = open_in source_file in + let ic = open_in_bin source_file in try let lb = Lexing.from_channel ic in if Filename.check_suffix source_file ".ml" then begin |
