[GRASS-SVN] r66256 - grass/trunk/general/g.version

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 18 02:07:24 PDT 2015


Author: martinl
Date: 2015-09-18 02:07:24 -0700 (Fri, 18 Sep 2015)
New Revision: 66256

Modified:
   grass/trunk/general/g.version/main.c
Log:
g.version: add off_t size to shell output (see https://lists.osgeo.org/pipermail/grass-dev/2015-September/076366.html)


Modified: grass/trunk/general/g.version/main.c
===================================================================
--- grass/trunk/general/g.version/main.c	2015-09-18 01:43:24 UTC (rev 66255)
+++ grass/trunk/general/g.version/main.c	2015-09-18 09:07:24 UTC (rev 66256)
@@ -8,7 +8,7 @@
 *               Extended info by Martin Landa <landa.martin gmail.com>
 * PURPOSE: 	Output GRASS version number, date and copyright message.
 *             
-* COPYRIGHT:  	(C) 2000-2013 by the GRASS Development Team
+* COPYRIGHT:  	(C) 2000-2015 by the GRASS Development Team
 *
 *   	    	This program is free software under the GPL (>=v2)
 *   	    	Read the file COPYING that comes with GRASS for details.
@@ -103,6 +103,7 @@
 	fprintf(stdout, "revision=%s\n", GRASS_VERSION_SVN);
 	fprintf(stdout, "build_date=%d-%02d-%02d\n", YEAR, MONTH, DAY);
 	fprintf(stdout, "build_platform=%s\n", ARCH);
+        fprintf(stdout, "build_off_t_size=%lu\n", sizeof(off_t));
     }
     else {
 	fprintf(stdout, "GRASS %s (%s)\n",



More information about the grass-commit mailing list