Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The toplevel does not close in_channel for libraries specified on its command line. #7101

Closed
vicuna opened this issue Dec 18, 2015 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Dec 18, 2015

Original bug ID: 7101
Reporter: @alainfrisch
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2017-02-16T14:18:06Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 4.03.0+dev / +beta1
Category: ~DO NOT USE (was: OCaml general)

Bug description

$ cat foo.ml
Gc.compact ();;
$ OCAMLRUNPARAM=W=1 boot/ocamlrun ./ocaml unix.cma foo.ml
[ocaml] (use Sys.enable_runtime_warnings to control these warnings)
[ocaml] channel opened on file 'C:/ocamlms/lib\unix.cma' dies without being closed

Thanks you, "W=1"!

@vicuna
Copy link
Author

vicuna commented Dec 18, 2015

Comment author: @alainfrisch

Fixed by commit f6b5c9d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants