Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 2193)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 2194)
@@ -11,4 +11,18 @@
      - changed histogram name
      - added axis titles
+
+   * mbase/MLog.cc:
+     - include iomanip onstead of MLogManip
+
+   * mbase/MLogManip.h:
+     - replaced preprocessor defintions for all, warn, inf, err and dbg
+       by const variable declarations
+     - fixed dynamic_casts
+
+   * macros/merpp.C:
+     - made capable of more than one directory
+     
+   * mmain/MStatusDisplay.cc:
+     - removed an unsused variable
 
 
Index: /trunk/MagicSoft/Mars/macros/merpp.C
===================================================================
--- /trunk/MagicSoft/Mars/macros/merpp.C	(revision 2193)
+++ /trunk/MagicSoft/Mars/macros/merpp.C	(revision 2194)
@@ -38,5 +38,5 @@
 /////////////////////////////////////////////////////////////////////////////
 
-void merpp()
+void ProcessFile(TString fname)
 {
     //
@@ -59,7 +59,6 @@
     //         (Using root 2.25/03, with Cint 5.14.50 on OSF1)
     //
-
-    MRawFileRead  reader("/home/tbretz/data/20010219-00020-d-octobertest-e");
-    MRawFileWrite writer("otest.root", "RECREATE");
+    MRawFileRead  reader(fname);
+    MRawFileWrite writer(fname(0, fname.Last('.')+1) + "root");
     tasks.AddToList(&reader);
     tasks.AddToList(&writer);
@@ -83,3 +82,18 @@
 }
 
+void merpp(const char *dirname="/home/MAGIC/online_data/rawdata/")
+{
+    MDirIter Next;
+    Next.AddDirectory(dirname, "*.raw", -1);
 
+    TString fname;
+    while (1)
+    {
+        fname = Next();
+        if (fname.IsNull())
+            break;
+
+        ProcessFile(fname);
+    }
+}
+
Index: /trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc
===================================================================
--- /trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc	(revision 2193)
+++ /trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc	(revision 2194)
@@ -1452,5 +1452,4 @@
     while (1)
     {
-        streampos p1 = f.tellg();
         f.read(c[(i+1)%2], l);
         f.seekp(-l, ios::cur);
