[GRASS-SVN] r50434 - grass/branches/develbranch_6/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 25 02:44:33 EST 2012


Author: hamish
Date: 2012-01-24 23:44:33 -0800 (Tue, 24 Jan 2012)
New Revision: 50434

Modified:
   grass/branches/develbranch_6/lib/gis/closecell.c
Log:
add some debug messages to help with #1276

Modified: grass/branches/develbranch_6/lib/gis/closecell.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/closecell.c	2012-01-25 07:23:17 UTC (rev 50433)
+++ grass/branches/develbranch_6/lib/gis/closecell.c	2012-01-25 07:44:33 UTC (rev 50434)
@@ -105,6 +105,7 @@
 {
     struct fileinfo *fcb = &G__.fileinfo[fd];
 
+    G_debug(5, "G_unopen_cell()");
     if (fd < 0 || fd >= G__.fileinfo_count || fcb->open_mode <= 0)
 	return -1;
     if (fcb->open_mode == OPEN_OLD)
@@ -302,6 +303,7 @@
      */
     stat = 1;
     if (ok && (fcb->temp_name != NULL)) {
+	G_debug(5, "Moving temporary cell map into main mapset...");
 	G__file_name(path, CELL_DIR, fcb->name, fcb->mapset);
 
 	if (remove(path) != 0)



More information about the grass-commit mailing list