ti-c6accel_1.00.00.04: add new recipe
[openembedded.git] / recipes / gtk-webcore / osb-jscore-0.5.0 / superh-ustring-declaration-error.patch
blobc0c52444c83f618ad1b28729ca1cfc3f647fd248
1 --- osb-jscore-0.5.0/kjs/ustring.cpp_orig 2006-09-18 01:29:11.000000000 +0000
2 +++ osb-jscore-0.5.0/kjs/ustring.cpp 2006-09-18 01:29:46.000000000 +0000
3 @@ -132,7 +132,7 @@
4 return *this;
7 -bool KJS::operator==(const KJS::CString& c1, const KJS::CString& c2)
8 +bool operator==(const KJS::CString& c1, const KJS::CString& c2)
10 int len = c1.size();
11 return len == c2.size() && (len == 0 || memcmp(c1.c_str(), c2.c_str(), len) == 0);
12 @@ -1094,7 +1094,7 @@
13 rep->deref();
16 -bool KJS::operator==(const UString& s1, const UString& s2)
17 +bool operator==(const UString& s1, const UString& s2)
19 if (s1.rep->len != s2.rep->len)
20 return false;
21 @@ -1103,7 +1103,7 @@
22 s1.rep->len * sizeof(UChar)) == 0);
25 -bool KJS::operator==(const UString& s1, const char *s2)
26 +bool operator==(const UString& s1, const char *s2)
28 if (s2 == 0) {
29 return s1.isEmpty();
30 @@ -1121,7 +1121,7 @@
31 return u == uend && *s2 == 0;
34 -bool KJS::operator<(const UString& s1, const UString& s2)
35 +bool operator<(const UString& s1, const UString& s2)
37 const int l1 = s1.size();
38 const int l2 = s2.size();
39 @@ -1140,7 +1140,7 @@
40 return (l1 < l2);
43 -int KJS::compare(const UString& s1, const UString& s2)
44 +int compare(const UString& s1, const UString& s2)
46 const int l1 = s1.size();
47 const int l2 = s2.size();