Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8231)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8232)
@@ -39,4 +39,7 @@
      - included errno.h (with new compiler it didn't compile anymore)
      - changed name of object (was same like for TPRexexp)
+
+   * datacenter/scripts/checktransfer:
+     - added check if there are temporary files 
 
 
Index: trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C	(revision 8231)
+++ trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C	(revision 8232)
@@ -80,4 +80,5 @@
 #include <iomanip>
 #include <fstream>
+#include <errno.h>
 
 #include <TSQLRow.h>
@@ -654,8 +655,8 @@
 
             TIter NextR(&regexp);
-            TObject *reg=0;
-            while ((reg=NextR()))
+            TObject *obj=0;
+            while ((obj=NextR()))
             {
-                TPRegexp reg(reg->GetName());
+                TPRegexp reg(obj->GetName());
                 const Ssiz_t pos = name.Index(reg, 0);
                 if (pos>0)
Index: trunk/MagicSoft/Mars/datacenter/scripts/checktransfer
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checktransfer	(revision 8231)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checktransfer	(revision 8232)
@@ -62,2 +62,11 @@
 done
 
+
+#checking if there are temporary zipfiles
+files=`find $datapath/rawfiles/ -name ".*\.raw\.??????"`
+
+for file in ${files[@]}
+do 
+   printprocesslog "WARN found temporary zipfile $file"
+done
+
