[GRASS-SVN] r37323 - grass/branches/releasebranch_6_4/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 21 06:32:35 EDT 2009


Author: hamish
Date: 2009-05-21 06:32:35 -0400 (Thu, 21 May 2009)
New Revision: 37323

Modified:
   grass/branches/releasebranch_6_4/lib/gis/parser.c
Log:
allow upper case chars to begin option names (lost in r32263; merge from devbr6)

Modified: grass/branches/releasebranch_6_4/lib/gis/parser.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/parser.c	2009-05-21 10:03:45 UTC (rev 37322)
+++ grass/branches/releasebranch_6_4/lib/gis/parser.c	2009-05-21 10:32:35 UTC (rev 37323)
@@ -2120,7 +2120,7 @@
     if (p == string)
 	return 0;
     p--;
-    if (!strchr("abcdefghijklmnopqrstuvwxyz0123456789", *p))
+    if (!strchr("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", *p))
 	return 0;
 
     return 1;



More information about the grass-commit mailing list