[GRASS-SVN] r62024 - grass/branches/releasebranch_7_0/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Sep 17 12:47:30 PDT 2014
Author: mmetz
Date: 2014-09-17 12:47:30 -0700 (Wed, 17 Sep 2014)
New Revision: 62024
Modified:
grass/branches/releasebranch_7_0/lib/vector/Vlib/legal_vname.c
Log:
Vlib: do not allow @ in vector name
Modified: grass/branches/releasebranch_7_0/lib/vector/Vlib/legal_vname.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/vector/Vlib/legal_vname.c 2014-09-17 19:47:13 UTC (rev 62023)
+++ grass/branches/releasebranch_7_0/lib/vector/Vlib/legal_vname.c 2014-09-17 19:47:30 UTC (rev 62024)
@@ -54,7 +54,7 @@
for (s++; *s; s++)
if (!((*s >= 'A' && *s <= 'Z') || (*s >= 'a' && *s <= 'z') ||
- (*s >= '0' && *s <= '9') || *s == '_' || *s == '@')) {
+ (*s >= '0' && *s <= '9') || *s == '_') || *s == '@') {
G_warning(_("Illegal vector map name <%s>. Character '%c' not allowed."),
buf, *s);
return -1;
More information about the grass-commit
mailing list