Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 2078)
+++ trunk/MagicSoft/Mars/Changelog	(revision 2079)
@@ -2,8 +2,7 @@
 
  2003/05/06: Abelardo Moralejo
+ 
    * mhistmc/MHMcCollectionArea.cc
      - Added:  delete &pally
-
- 2003/05/06: Abelardo Moralejo
 
    * mfilter/MFCT1SelFinal.cc
@@ -20,4 +19,6 @@
        containing only triggers).
 
+
+
  2003/05/06: Thomas Bretz
  
@@ -34,4 +35,10 @@
    * mhist/Makefile, mhist/HistLinkDef.h:
      - removed MHRan*
+
+  * Makefile:
+     - mranforest added
+
+  * mbase/MLog.cc:
+    - sanity check in MLog::Output (len>0)
 
 
Index: trunk/MagicSoft/Mars/mbase/MLog.cc
===================================================================
--- trunk/MagicSoft/Mars/mbase/MLog.cc	(revision 2078)
+++ trunk/MagicSoft/Mars/mbase/MLog.cc	(revision 2079)
@@ -215,14 +215,17 @@
         }
 
-    // Check for EOL
-    const Bool_t endline = fBase[len-1]=='\n';
-    // output text to screen (without trailing '\0' or '\n')
-    out << TString(fBase, len-1);
-    // reset colors if working with colors
-    if (!TestBit(eNoColors))
-        out << kReset;
-    // output EOL of check found EOL
-    if (endline)
-        out << '\n';
+    if (len>0)
+    {
+        // Check for EOL
+        const Bool_t endline = fBase[len-1]=='\n';
+        // output text to screen (without trailing '\0' or '\n')
+        out << TString(fBase, len-1);
+        // reset colors if working with colors
+        if (!TestBit(eNoColors))
+            out << kReset;
+        // output EOL of check found EOL
+        if (endline)
+            out << '\n';
+    }
     out.flush();
 }
