Advanced search
Log In | New Account   
Home My Page Project Tree Code Snippets Project Openings Batteries : Revised Standard Library
Summary Activity Forums Tracker Lists Tasks Docs News Files

Bugs: Browse | Download .csv

[#291] Print.printf "%S" raises InnerIO.Output_closed

Date:
2009-09-15 19:14
Priority:
3
State:
Open
Submitted by:
Assigned to:
Nobody (None)
Summary:
Print.printf "%S" raises InnerIO.Output_closed

Detailed description
When calling Print.printf "%S" twice, an exception is raised.


battest $ cat print_precentbigS.ml
open Print
let () = (
    let s = "bla bla bla" in
    printf p"%S\n" s;
    printf p"%S\n" s;
);;
battest $ ocamlfind batteries/ocaml print_precentbigS.ml
Exception: InnerIO.Output_closed.
"bla bla bla"
battest $ 


misc facts:
* The behavior is OK with %s instead of %S
* It is GODI/MacOSX batteries
* # Batteries_config.version;;
  - : string = "0.20090331"

Followup

No Followups Have Been Posted

Related Tasks:

No Related Tasks

Attached Files:

No Files Currently Attached

Changes:

No Changes Have Been Made to This Item


Powered By GForge Collaborative Development Environment