[GRASS-SVN] r36619 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 7 22:41:47 EDT 2009
Author: hcho
Date: 2009-04-07 22:41:47 -0400 (Tue, 07 Apr 2009)
New Revision: 36619
Modified:
grass/branches/develbranch_6/lib/gis/strings.c
Log:
Made G_str_to_sql \0-safe.
Modified: grass/branches/develbranch_6/lib/gis/strings.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/strings.c 2009-04-08 02:39:44 UTC (rev 36618)
+++ grass/branches/develbranch_6/lib/gis/strings.c 2009-04-08 02:41:47 UTC (rev 36619)
@@ -490,7 +490,7 @@
count = 0;
- if (!str)
+ if (!str || !*str)
return 0;
c = str;
More information about the grass-commit
mailing list