From: Claudio Sacerdoti Coen Date: Tue, 3 Oct 2006 11:33:14 +0000 (+0000) Subject: sequent_viewer.xml & co are now generated in /tmp if necessary! X-Git-Tag: make_still_working~6804 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=d9b1b28f58a4aa2fc51b727af4f80929e18fc9ed;p=helm.git sequent_viewer.xml & co are now generated in /tmp if necessary! --- diff --git a/helm/software/matita/matitaMathView.ml b/helm/software/matita/matitaMathView.ml index 544b4f595..4b54f60ac 100644 --- a/helm/software/matita/matitaMathView.ml +++ b/helm/software/matita/matitaMathView.ml @@ -550,7 +550,8 @@ object (self) ids_to_terms, ids_to_hypotheses, ids_to_father_ids, Hashtbl.create 1, None)); if BuildTimeConf.debug then begin - let name = "sequent_viewer.xml" in + let name = + "/tmp/sequent_viewer_" ^ string_of_int (Unix.getuid ()) ^ ".xml" in HLog.debug ("load_sequent: dumping MathML to ./" ^ name); ignore (domImpl#saveDocumentToFile ~name ~doc:mathml ()) end; @@ -572,7 +573,8 @@ object (self) self#thaw | _ -> if BuildTimeConf.debug then begin - let name = "cic_browser.xml" in + let name = + "/tmp/cic_browser_" ^ string_of_int (Unix.getuid ()) ^ ".xml" in HLog.debug ("cic_browser: dumping MathML to ./" ^ name); ignore (domImpl#saveDocumentToFile ~name ~doc:mathml ()) end;