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: 5930 Reporter: @sliquister Assigned to:@gasche Status: closed (set by @xavierleroy on 2015-12-11T18:18:54Z) Resolution: fixed Priority: normal Severity: minor Fixed in version: 4.00.2+dev Category: tools (ocaml{lex,yacc,dep,debug,...})
Bug description
Any call to ocamldep with a preprocessor leaks the temporary file /tmp/ocamlppXXXXXX.
commit 12769 removes this line in ocamldep:
close_in ic; remove_preprocessed input_file; raise x
and doesn't put the call to remove_preprocessed anywhere.
Original bug ID: 5930
Reporter: @sliquister
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2015-12-11T18:18:54Z)
Resolution: fixed
Priority: normal
Severity: minor
Fixed in version: 4.00.2+dev
Category: tools (ocaml{lex,yacc,dep,debug,...})
Bug description
Any call to ocamldep with a preprocessor leaks the temporary file /tmp/ocamlppXXXXXX.
commit 12769 removes this line in ocamldep:
and doesn't put the call to remove_preprocessed anywhere.
Steps to reproduce
/tmp$ ocamlc -version
4.01.0+dev10-2012-10-16
/tmp$ echo ocamlpp*
ocamlpp*
/tmp$ touch a.ml
/tmp$ ocamldep -pp cat a.ml
a.cmo :
a.cmx :
/tmp$ echo ocamlpp*
ocamlpp2fccf9
/tmp$
The text was updated successfully, but these errors were encountered: