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: 1938 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Salut,
Some trivial bugs...
This relates to Ocaml 3.08pl2 (on Debian woody).
In both tools/ocamlcp.ml and tools/ocamlmktop.ml there is a Sys.command
call to ocamlc: the ocamlc that gets run is the one in the $PATH not
the one that was installed. I noticed this when working with multiple
versions of Ocaml on my system.
Also, the arguments are not safely quoted, so for example
ocamlcp "cou cou.ml"
fails but
ocamlc "cou cou.ml"
succeeds.
-James
The text was updated successfully, but these errors were encountered:
We have no way of knowing where the running ocamlcp was installed, so it's
impossible to tell which
one should be called. You need to change your PATH variable to make it find the
right executable.
Fixed, but you are not supposed to use a source file name that is not a valid
identifier.
--DD 2004-06-16
Original bug ID: 1938
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Salut,
Some trivial bugs...
This relates to Ocaml 3.08pl2 (on Debian woody).
In both tools/ocamlcp.ml and tools/ocamlmktop.ml there is a Sys.command
call to ocamlc: the ocamlc that gets run is the one in the $PATH not
the one that was installed. I noticed this when working with multiple
versions of Ocaml on my system.
Also, the arguments are not safely quoted, so for example
ocamlcp "cou cou.ml"
fails but
ocamlc "cou cou.ml"
succeeds.
-James
The text was updated successfully, but these errors were encountered: