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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 2 04:34:38 EDT 2010


Author: mmetz
Date: 2010-10-02 08:34:38 +0000 (Sat, 02 Oct 2010)
New Revision: 43764

Modified:
   grass/branches/develbranch_6/include/iostream/ami_stream.h
Log:
remove temporary debug

Modified: grass/branches/develbranch_6/include/iostream/ami_stream.h
===================================================================
--- grass/branches/develbranch_6/include/iostream/ami_stream.h	2010-10-01 20:13:17 UTC (rev 43763)
+++ grass/branches/develbranch_6/include/iostream/ami_stream.h	2010-10-02 08:34:38 UTC (rev 43764)
@@ -383,7 +383,7 @@
   }
 
   fseek(fp, posn_save, SEEK_SET);
-
+  return (st_size / sizeof(T));
 #else
   struct stat buf;
   if (stat(path, &buf) == -1) {
@@ -392,20 +392,6 @@
     assert(0);
     exit(1);
   }
-#endif
-
-
-#ifdef __MINGW32__
-  //TEMPORARY DEBUG:
-  fprintf(stderr, "%s: length = %lld   sizeof(T)=%d\n",
-	  path, st_size, sizeof(T));
-
-  return (st_size / sizeof(T));
-#else
-  //TEMPORARY DEBUG:
-  fprintf(stderr, "%s: length = %lld   sizeof(T)=%d\n",
-	  path, buf.st_size, sizeof(T));
-
   return (buf.st_size / sizeof(T));
 #endif
 };



More information about the grass-commit mailing list