diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2004-07-11 11:12:42 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2004-07-11 11:12:42 +0400 |
commit | 6b6b49d95bbe112310225c95baeb5073b8cc4941 (patch) | |
tree | 8d086c2578a0eb6c46f13d76f8e6ccdef1e22740 | |
parent | 2e4e1c07975be1bd2aba8db0a8bec6b421cb4a6f (diff) |
2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME".
svn path=/branches/mono-1-0/mcs/; revision=30998
-rw-r--r-- | mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageInfo.cs | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog b/mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog index 2b295ce72fa..c27c01f582e 100644 --- a/mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog +++ b/mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog @@ -1,3 +1,7 @@ +2004-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * IsolatedStorageInfo.cs: useGetFolderPath instead of getting "HOME". + 2004-06-13 Gert Driesen <drieseng@users.sourceforge.net> * IsolatedStorage.cs: really mark the storage_scope field private diff --git a/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageInfo.cs b/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageInfo.cs index a3a1ae0e8a3..d1107269a1b 100644 --- a/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageInfo.cs +++ b/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageInfo.cs @@ -37,7 +37,7 @@ namespace System.IO.IsolatedStorage { [MonoTODO("Unix Specific; generalize for Win32")] internal static string GetIsolatedStorageDirectory () { - string home = Environment.GetEnvironmentVariable ("HOME"); + string home = Environment.GetFolderPath (Environment.SpecialFolder.Personal); if (home == null) home = "~"; |