[GRASS-CVS] markus: grass6/lib/proj datum.c, 1.12, 1.12.2.1 ellipse.c, 1.6, 1.6.2.1

grass at intevation.de grass at intevation.de
Sun Nov 18 15:01:04 EST 2007


Author: markus

Update of /grassrepository/grass6/lib/proj
In directory doto:/tmp/cvs-serv23324

Modified Files:
      Tag: releasebranch_6_3
	datum.c ellipse.c 
Log Message:
Replace strcasecmp() with G_strcasecmp() (merge from HEAD)

Index: datum.c
===================================================================
RCS file: /grassrepository/grass6/lib/proj/datum.c,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- datum.c	12 Feb 2007 17:12:35 -0000	1.12
+++ datum.c	18 Nov 2007 20:01:01 -0000	1.12.2.1
@@ -44,7 +44,7 @@
     list = listhead = read_datum_table();
 
     while (list != NULL) {
-	if (strcasecmp(name, list->name) == 0) {
+	if (G_strcasecmp(name, list->name) == 0) {
 	    dstruct->name = G_store(list->name);
 	    dstruct->longname = G_store(list->longname);
 	    dstruct->ellps = G_store(list->ellps);
@@ -426,7 +426,7 @@
 	    continue;
 	}
 
-	if (strcasecmp(inputname, name) == 0) {
+	if (G_strcasecmp(inputname, name) == 0) {
 	    /* If the datum name in this line matches the one we are 
 	     * looking for, add an entry to the linked list */
 	    if (current == NULL)

Index: ellipse.c
===================================================================
RCS file: /grassrepository/grass6/lib/proj/ellipse.c,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- ellipse.c	5 Nov 2006 11:11:07 -0000	1.6
+++ ellipse.c	18 Nov 2007 20:01:02 -0000	1.6.2.1
@@ -142,7 +142,7 @@
     list = listhead = read_ellipsoid_table(0);
 
     while (list != NULL) {
-	if (strcasecmp(name, list->name) == 0) {
+	if (G_strcasecmp(name, list->name) == 0) {
 	    estruct->name = G_store(list->name);
 	    estruct->longname = G_store(list->longname);
 	    estruct->a = list->a;




More information about the grass-commit mailing list