[GRASS-SVN] r43640 - grass/branches/releasebranch_6_4/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Sep 22 17:35:51 EDT 2010
Author: neteler
Date: 2010-09-22 21:35:51 +0000 (Wed, 22 Sep 2010)
New Revision: 43640
Modified:
grass/branches/releasebranch_6_4/lib/gis/strings.c
Log:
backport: Made G_str_to_sql \0-safe.
Modified: grass/branches/releasebranch_6_4/lib/gis/strings.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/strings.c 2010-09-22 20:32:29 UTC (rev 43639)
+++ grass/branches/releasebranch_6_4/lib/gis/strings.c 2010-09-22 21:35:51 UTC (rev 43640)
@@ -490,7 +490,7 @@
count = 0;
- if (!str)
+ if (!str || !*str)
return 0;
c = str;
More information about the grass-commit
mailing list