CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/12/17 22:57:19
Modified files:
server/asobj : xml.cpp
Log message:
Add debugging output for in-thread xml loading (so we remember that
that thing needs being taking care of)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xml.cpp?cvsroot=gnash&r1=1.56&r2=1.57
Patches:
Index: xml.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xml.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- xml.cpp 4 Dec 2007 11:45:32 -0000 1.56
+++ xml.cpp 17 Dec 2007 22:57:18 -0000 1.57
@@ -17,7 +17,7 @@
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
-/* $Id: xml.cpp,v 1.56 2007/12/04 11:45:32 strk Exp $ */
+/* $Id: xml.cpp,v 1.57 2007/12/17 22:57:18 strk Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -427,12 +427,14 @@
//
std::string src;
char buf[256];
+ log_debug("Started loading of XML in main tread... ");
while ( 1 )
{
size_t bytes = str->read_bytes(buf, 255);
src.append(buf, bytes);
if ( bytes < 255 ) break; // end of buffer
}
+ log_debug("... finished loading of XML in main tread.");
callMethod(onDataKey, as_value(src));
}
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit