You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 680 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
ocamldep does not make dependencies for subdirectories on WIN2000 (I presume for
all WIN32).
For example, in a system where you have directory X and subdirectory A then
running ocamldep
from the top directory (X):
ocamldep -I A A*.ml*
will result in an empty set of dependecies.
Using a cygwin bash shell ocamldep does work, but not from a normal windows
command prompt.
Example:
Top dir X.
subdir A.
A includes files xx.ml:
let f () =
print_string "Hello World";
()
and file yy.ml:
open Xx
let _ =
f ()
Ohad.
The text was updated successfully, but these errors were encountered:
ocamldep does not make dependencies for subdirectories on WIN2000 (I
presume for all WIN32). For example, in a system where you have
directory X and subdirectory A then running ocamldep
from the top directory (X):
ocamldep -I A A*.ml*
will result in an empty set of dependecies.
Using a cygwin bash shell ocamldep does work, but not from a normal windows
command prompt.
Right, the "globbing" code in OCaml (the code that expands * patterns
on the command line) did not handle directories in patterns correctly:
for A*.ml* it would return xx.ml yy.ml instead of the correct
A\xx.ml A\yy.ml.
The problem doesn't appear under bash, because bash itself performs
the globbing before invoking ocamldep.
This is now fixed in the working sources. Thanks for the bug report.
Original bug ID: 680
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Ohad Rodeh
Version: 3.01/3.02
OS: WIN20000
Submission from: e-hub.haifa.ibm.net.il (192.115.216.66)
ocamldep does not make dependencies for subdirectories on WIN2000 (I presume for
all WIN32).
For example, in a system where you have directory X and subdirectory A then
running ocamldep
from the top directory (X):
ocamldep -I A A*.ml*
will result in an empty set of dependecies.
Using a cygwin bash shell ocamldep does work, but not from a normal windows
command prompt.
Example:
Top dir X.
subdir A.
A includes files xx.ml:
let f () =
print_string "Hello World";
()
and file yy.ml:
open Xx
let _ =
f ()
Ohad.
The text was updated successfully, but these errors were encountered: