Changeset 26

Show
Ignore:
Timestamp:
06/23/04 00:11:36
Author:
DenisG
Message:

[SubversionSharp] Finally discover that mcs crash due to const initialisation
but MD shows compilation success

- Replace const by static
- Fix remaining compilation error

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SubversionSharp/dev/src/SvnAuthBaton.cs

    r25 r26  
    3131        }; 
    3232 
    33         private const string[] ParamName = new string[] {  
     33        private static string[] ParamName = new string[] {  
    3434            "svn:auth:username", 
    3535            "svn:auth:password", 
     
    5454            mAuthProviders = null; 
    5555            mParamName = null; 
    56             mPool = null
     56            mPool = IntPtr.Zero
    5757        } 
    5858         
     
    136136                mParamName[(int)param] = new AprString(mPool, ParamName[(int)param]); 
    137137                     
    138             svn_auth_set_parameter(mAuthBaton, mParamName[(int)param], value); 
     138            Svn.svn_auth_set_parameter(mAuthBaton, mParamName[(int)param], value); 
    139139        } 
    140140 
     
    152152                mParamName[(int)param] = new AprString(mPool, ParamName[(int)param]); 
    153153                     
    154             return(svn_auth_get_parameter(mAuthBaton, mParamName[(int)param])); 
     154            return(Svn.svn_auth_get_parameter(mAuthBaton, mParamName[(int)param])); 
    155155        } 
    156156        #endregion