[GRASS-SVN] r67077 - grass/branches/releasebranch_7_0/raster/r.in.gdal
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Dec 12 04:49:59 PST 2015
Author: martinl
Date: 2015-12-12 04:49:59 -0800 (Sat, 12 Dec 2015)
New Revision: 67077
Modified:
grass/branches/releasebranch_7_0/raster/r.in.gdal/main.c
Log:
use G_snprintf() instead of snprintf()
(merge r67048 from trunk)
Modified: grass/branches/releasebranch_7_0/raster/r.in.gdal/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.in.gdal/main.c 2015-12-12 12:48:31 UTC (rev 67076)
+++ grass/branches/releasebranch_7_0/raster/r.in.gdal/main.c 2015-12-12 12:49:59 UTC (rev 67077)
@@ -1544,7 +1544,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