[60247] trunk/base/src/pextlib1.0/filemap.c

jmr at macports.org jmr at macports.org
Sat Nov 7 00:43:03 PST 2009


Revision: 60247
          http://trac.macports.org/changeset/60247
Author:   jmr at macports.org
Date:     2009-11-07 00:43:01 -0800 (Sat, 07 Nov 2009)
Log Message:
-----------
revert r60246, it still breaks deactivation of e.g. ncursesw

Revision Links:
--------------
    http://trac.macports.org/changeset/60246

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/filemap.c

Modified: trunk/base/src/pextlib1.0/filemap.c
===================================================================
--- trunk/base/src/pextlib1.0/filemap.c	2009-11-07 08:38:01 UTC (rev 60246)
+++ trunk/base/src/pextlib1.0/filemap.c	2009-11-07 08:43:01 UTC (rev 60247)
@@ -714,7 +714,7 @@
 		{
 			int theCompResult;
 			theSubnode = *theSubnodeCursor++;
-			theCompResult = strncmp(theSubnode->fKeySubpart, beginCursor, partLength);
+			theCompResult = strncasecmp(theSubnode->fKeySubpart, beginCursor, partLength);
 			if (theCompResult == 0)
 			{
 				/* first partLength bytes are equal, we need to check that fKeySubpart
@@ -854,7 +854,7 @@
 		{
 			int theCompResult;
 			theSubnode = *theSubnodeCursor++;
-			theCompResult = strncmp(theSubnode->fKeySubpart, beginCursor, partLength);
+			theCompResult = strncasecmp(theSubnode->fKeySubpart, beginCursor, partLength);
 			if (theCompResult == 0)
 			{
 				/* first partLength bytes are equal, we need to check that fKeySubpart
@@ -1053,7 +1053,7 @@
 		{
 			int theCompResult;
 			theSubnode = *theSubnodeCursor++;
-			theCompResult = strncmp(theSubnode->fKeySubpart, beginCursor, partLength);
+			theCompResult = strncasecmp(theSubnode->fKeySubpart, beginCursor, partLength);
 			if (theCompResult == 0)
 			{
 				/* first partLength bytes are equal, we need to check that fKeySubpart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091107/a1dd1205/attachment.html>


More information about the macports-changes mailing list