[GRASS-SVN] r42731 - grass/branches/develbranch_6/include/iostream

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 8 21:53:44 EDT 2010


Author: hamish
Date: 2010-07-09 01:53:44 +0000 (Fri, 09 Jul 2010)
New Revision: 42731

Modified:
   grass/branches/develbranch_6/include/iostream/mem_stream.h
Log:
debug msg for #1006 on wingrass

Modified: grass/branches/develbranch_6/include/iostream/mem_stream.h
===================================================================
--- grass/branches/develbranch_6/include/iostream/mem_stream.h	2010-07-08 22:08:51 UTC (rev 42730)
+++ grass/branches/develbranch_6/include/iostream/mem_stream.h	2010-07-09 01:53:44 UTC (rev 42731)
@@ -21,6 +21,7 @@
 #define _MEM_STREAM_H
 
 #include <stdlib.h>
+#include <stdio.h>
 #include <assert.h>
 
 #include <cstring>
@@ -122,6 +123,12 @@
 
   assert(data);
 
+
+  //DEBUG:
+#ifdef __MINGW32__
+  fprintf(stderr, "read_item(): curr=%x  dataend=%x\n", curr, dataend);
+#endif
+
   if(curr == dataend) {
     return AMI_ERROR_END_OF_STREAM;
   }



More information about the grass-commit mailing list