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: 1709 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
the newest CVS-snapshot of OCaml has an incompatibility in the
function "parse_argv" of the Arg-module, which, for example, affects
the findlib-tool by Gerd Stolpmann. The function sets "current" to
zero after saving its contents, thus making it impossible to parse
argument-vectors with a different offset by setting Arg.current to a
different value. Just delete the corresponding line that sets "current"
to zero, and everything should be fine again!
the newest CVS-snapshot of OCaml has an incompatibility in the
function "parse_argv" of the Arg-module, which, for example, affects
the findlib-tool by Gerd Stolpmann. The function sets "current" to
zero after saving its contents, thus making it impossible to parse
argument-vectors with a different offset by setting Arg.current to a
different value. Just delete the corresponding line that sets "current"
to zero, and everything should be fine again!
I have removed the change, and documented the fact that you need
to set Arg.current before calling Arg.parse_argv.
Original bug ID: 1709
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hello,
the newest CVS-snapshot of OCaml has an incompatibility in the
function "parse_argv" of the Arg-module, which, for example, affects
the findlib-tool by Gerd Stolpmann. The function sets "current" to
zero after saving its contents, thus making it impossible to parse
argument-vectors with a different offset by setting Arg.current to a
different value. Just delete the corresponding line that sets "current"
to zero, and everything should be fine again!
Best regards,
Markus
--
Markus Mottl http://www.oefai.at/~markus markus@oefai.at
The text was updated successfully, but these errors were encountered: