343542edf9
xerces codebase itself. although this commit is a combination of all three PRs, i didn't take every PR verbatim (and left out some smaller parts of the first two PRs). any mistakes in the merging of these PRs is mine and if the original submitters would like to generate diffs after this commit, i'll look at those as well. Gregory Bond gets credit for spotting some particularly nasty problems in the old port. Remember folks, just because it compiles doesn't mean it works.. PR: ports/36248, ports/37016, ports/37619 Submitted by: Hidekazu Kuroki <hidekazu@pc88.gr.jp>, Daniel Lang <dl@leo.org>, Gregory Bond <gnb@itga.com.au>
20 lines
455 B
Text
20 lines
455 B
Text
--- src/xercesc/util/XMLString.cpp.orig Fri May 31 19:07:45 2002
|
|
+++ src/xercesc/util/XMLString.cpp Fri May 31 19:08:09 2002
|
|
@@ -254,7 +254,7 @@
|
|
|
|
int XMLString::compareIString(const char* const str1, const char* const str2)
|
|
{
|
|
- return stricmp(str1, str2);
|
|
+ return strcasecmp(str1, str2);
|
|
}
|
|
|
|
|
|
@@ -277,7 +277,7 @@
|
|
if (!count)
|
|
return 0;
|
|
|
|
- return strnicmp(str1, str2, count);
|
|
+ return strncasecmp(str1, str2, count);
|
|
}
|
|
|
|
|