From: Claudio Sacerdoti Coen Date: Fri, 26 Jan 2007 13:15:56 +0000 (+0000) Subject: "Warning/error/debug/infos" messages now sent on stderr. X-Git-Tag: make_still_working~6506 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=bbe0f65cab1c9aaeec27d1ab690b079780e28c42;p=helm.git "Warning/error/debug/infos" messages now sent on stderr. --- diff --git a/helm/software/matita/matitaWiki.ml b/helm/software/matita/matitaWiki.ml index 883cf3284..aea67623e 100644 --- a/helm/software/matita/matitaWiki.ml +++ b/helm/software/matita/matitaWiki.ml @@ -201,8 +201,8 @@ let main () = | `Warning -> "
Warn: " ^ msg ^ "

\n" | `Error -> "
Error: " ^ msg ^ "

\n" in - output_string stdout s; - flush stdout + output_string stderr s; + flush stderr ); (* must be called after init since args are set by cmdline parsing *) let system_mode = Helm_registry.get_bool "matita.system" in