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

Comments

Projects
None yet
2 participants
@vicuna
Copy link

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

This comment has been minimized.

Copy link
Author

commented Dec 18, 2015

Comment author: @alainfrisch

Fixed by commit f6b5c9d.

@vicuna vicuna closed this Feb 16, 2017

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.