dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System/Net Cookie.cs, 1.1, 1.2 Creden


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System/Net Cookie.cs, 1.1, 1.2 CredentialCache.cs, 1.4, 1.5
Date: Mon, 01 Sep 2003 00:17:30 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System/Net
In directory subversions:/tmp/cvs-serv15767/System/Net

Modified Files:
        Cookie.cs CredentialCache.cs 
Log Message:


eCMA compat fixes.


Index: Cookie.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/Cookie.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Cookie.cs   28 Aug 2003 00:25:13 -0000      1.1
--- Cookie.cs   1 Sep 2003 04:17:28 -0000       1.2
***************
*** 280,285 ****
--- 280,289 ----
                                if(other != null)
                                {
+                               #if !ECMA_COMPAT
                                        if(String.Compare(name, other.name, 
true,
                                                                      
CultureInfo.InvariantCulture) != 0)
+                               #else
+                                       if(String.Compare(name, other.name, 
true) != 0)
+                               #endif
                                        {
                                                return false;
***************
*** 293,298 ****
--- 297,306 ----
                                                return false;
                                        }
+                               #if !ECMA_COMPAT
                                        if(String.Compare(domain, other.domain, 
true,
                                                                      
CultureInfo.InvariantCulture) != 0)
+                               #else
+                                       if(String.Compare(domain, other.domain, 
true) != 0)
+                               #endif
                                        {
                                                return false;

Index: CredentialCache.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/CredentialCache.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** CredentialCache.cs  28 Aug 2003 03:12:20 -0000      1.4
--- CredentialCache.cs  1 Sep 2003 04:17:28 -0000       1.5
***************
*** 80,86 ****
--- 80,91 ----
                                while(info != null)
                                {
+                               #if !ECMA_COMPAT
                                        if(info.uriPrefix.Equals(uriPrefix) &&
                                           String.Compare(info.authType, 
authType, true,
                                                                          
CultureInfo.InvariantCulture) == 0)
+                               #else
+                                       if(info.uriPrefix.Equals(uriPrefix) &&
+                                          String.Compare(info.authType, 
authType, true) == 0)
+                               #endif
                                        {
                                                throw new ArgumentException
***************
*** 109,114 ****
--- 114,123 ----
                                                                String authType)
                        {
+                       #if !ECMA_COMPAT
                                if(String.Compare(info.authType, authType, true,
                                                                  
CultureInfo.InvariantCulture) != 0)
+                       #else
+                               if(String.Compare(info.authType, authType, 
true) != 0)
+                       #endif
                                {
                                        return false;
***************
*** 172,178 ****
--- 181,192 ----
                                while(info != null)
                                {
+                               #if !ECMA_COMPAT
                                        if(info.uriPrefix.Equals(uriPrefix) &&
                                           String.Compare(info.authType, 
authType, true,
                                                                          
CultureInfo.InvariantCulture) == 0)
+                               #else
+                                       if(info.uriPrefix.Equals(uriPrefix) &&
+                                          String.Compare(info.authType, 
authType, true) == 0)
+                               #endif
                                        {
                                                if(last != null)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]