# HG changeset patch # User marvin shi # Date 1289976083 -28800 # Node ID 1dfff72f0961700ece2cc365376680b1dc284bab # Parent 9eeecb73a5d4e790472d840466ea4ab7a5346568 fix ou1cimx1#651819 diff -r 9eeecb73a5d4 -r 1dfff72f0961 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(); } }