[GRASS-SVN] r67048 - grass/trunk/raster/r.in.gdal
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 10 01:20:49 PST 2015
Author: martinl
Date: 2015-12-10 01:20:48 -0800 (Thu, 10 Dec 2015)
New Revision: 67048
Modified:
grass/trunk/raster/r.in.gdal/main.c
Log:
use G_snprintf() instead of snprintf()
Modified: grass/trunk/raster/r.in.gdal/main.c
===================================================================
--- grass/trunk/raster/r.in.gdal/main.c 2015-12-09 20:39:05 UTC (rev 67047)
+++ grass/trunk/raster/r.in.gdal/main.c 2015-12-10 09:20:48 UTC (rev 67048)
@@ -1598,7 +1598,7 @@
field_type = G_malloc(ncols * sizeof(GDALRATFieldType));
- snprintf(fname, GNAME_MAX, "%s_%d.csv", outrat, nBand);
+ G_snprintf(fname, GNAME_MAX, "%s_%d.csv", outrat, nBand);
if (!(fp = fopen(fname, "w"))) {
int err = errno;
More information about the grass-commit
mailing list