fix ou1cimx1#651819
authormarvin shi <marvin.shi@nokia.com>
Wed, 17 Nov 2010 14:41:23 +0800
changeset 692 1dfff72f0961
parent 691 9eeecb73a5d4
child 693 9dfe674c217c
child 694 c3fbb20e86f0
fix ou1cimx1#651819
imgtools/romtools/rofsbuild/r_rofs.cpp
--- a/imgtools/romtools/rofsbuild/r_rofs.cpp	Wed Nov 17 14:05:07 2010 +0800
+++ b/imgtools/romtools/rofsbuild/r_rofs.cpp	Wed Nov 17 14:41:23 2010 +0800
@@ -284,6 +284,9 @@
         p = rofs->GetDeferredJob();
         while(p) {
             p->len = p->node->PlaceFile(p->buf, (TUint32)-1, 0, &bpe);
+	    iOutputMutex.lock();
+	    p->node->FlushLogMessages();
+	    iOutputMutex.unlock();
             p = rofs->GetDeferredJob();
         }
     }