Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005930OCamlOCaml tools (ocaml{lex,yacc,dep,browser,debug})public2013-02-23 23:242013-05-31 13:58
Reportersliquister 
Assigned Togasche 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version4.00.2+dev 
Summary0005930: ocamldep leaks temporary files in trunk
DescriptionAny 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.
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$
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0008898)
gasche (developer)
2013-02-24 10:14

Thanks for the report, I just fixed it.

- Issue History
Date Modified Username Field Change
2013-02-23 23:24 sliquister New Issue
2013-02-24 10:14 gasche Note Added: 0008898
2013-02-24 10:14 gasche Status new => resolved
2013-02-24 10:14 gasche Fixed in Version => later
2013-02-24 10:14 gasche Resolution open => fixed
2013-02-24 10:14 gasche Assigned To => gasche
2013-05-31 13:58 gasche Fixed in Version later => 4.00.2+dev
2013-08-19 15:58 doligez Category OCaml tools (ocaml{lex,yacc,dep,browser}) => OCaml tools (ocaml{lex,yacc,dep,browser,debug})


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker