]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
Fix for the issue "23310: [CEA 1905] SALOME master - logs kernel debug mode".
authorrnv <rnv@opencascade.com>
Tue, 2 Aug 2016 07:32:53 +0000 (10:32 +0300)
committerrnv <rnv@opencascade.com>
Tue, 2 Aug 2016 07:32:53 +0000 (10:32 +0300)
src/Container/Container_i.cxx
src/Container/SALOME_FileTransfer_i.cxx

index 31aefcc31c35620a1c484901e12b0a6fd7d18ef5..8b14ff9acbaad72bf02d90d84bf7269a5ea53bd2 100644 (file)
@@ -1638,10 +1638,10 @@ void Engines_Container_i::copyFile(Engines::Container_ptr container, const char*
       while (toFollow)
         {
           ctr++;
-          SCRUTE(ctr);
+          //SCRUTE(ctr);
           aBlock = fileTransfer->getBlock(fileId);
           toFollow = aBlock->length();
-          SCRUTE(toFollow);
+          //SCRUTE(toFollow);
           CORBA::Octet *buf = aBlock->get_buffer();
           fwrite(buf, sizeof(CORBA::Octet), toFollow, fp);
           delete aBlock;
index d379bb2f224dc2f684dd73458d5e039efb6002ad..da9b272b7d75742e5cc2c33d74c88bb5f898b7c0 100644 (file)
@@ -119,7 +119,7 @@ void fileTransfer_i::close(CORBA::Long fileId)
 
 Engines::fileBlock* fileTransfer_i::getBlock(CORBA::Long fileId)
 {
-  MESSAGE("fileTransfer_i::getBlock");
+  //MESSAGE("fileTransfer_i::getBlock");
   Engines::fileBlock* aBlock = new Engines::fileBlock;
 
   FILE* fp;
@@ -135,7 +135,7 @@ Engines::fileBlock* fileTransfer_i::getBlock(CORBA::Long fileId)
   CORBA::Octet *buf;
   buf = Engines::fileBlock::allocbuf(FILEBLOCK_SIZE);
   int nbRed = fread(buf, sizeof(CORBA::Octet), FILEBLOCK_SIZE, fp);
-  SCRUTE(nbRed);
+  //SCRUTE(nbRed);
   aBlock->replace(nbRed, nbRed, buf, 1); // 1 means give ownership
   return aBlock;
 }