[GRASS-SVN] r63539 - grass/branches/releasebranch_7_0/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 14 09:56:50 PST 2014


Author: neteler
Date: 2014-12-14 09:56:50 -0800 (Sun, 14 Dec 2014)
New Revision: 63539

Modified:
   grass/branches/releasebranch_7_0/lib/gis/progrm_nme.c
Log:
libgis: trivial sync to trunk

Modified: grass/branches/releasebranch_7_0/lib/gis/progrm_nme.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/gis/progrm_nme.c	2014-12-14 13:02:53 UTC (rev 63538)
+++ grass/branches/releasebranch_7_0/lib/gis/progrm_nme.c	2014-12-14 17:56:50 UTC (rev 63539)
@@ -1,9 +1,9 @@
 /*!
- * \file gis/progrm_nme.c
+ * \file lib/gis/progrm_nme.c
  *
  * \brief GIS Library - Program name
  *
- * (C) 2001-2009 by the GRASS Development Team
+ * (C) 2001-2014 by the GRASS Development Team
  *
  * This program is free software under the GNU General Public License
  * (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -51,9 +51,14 @@
 	    break;
 	}
     }
+
+    /* strip extension from program name */
     temp = G_store(s);
     G_basename(temp, "exe");
     G_basename(temp, "py");
     name = G_store(temp);
+
+    G_debug(1, "G_set_program_name(): %s", name);
+    
     G_free(temp);
 }



More information about the grass-commit mailing list