[Mono-bugs] [Bug 571444] New: Registry should be put in $XDG_DATA_HOME, not ~/.mono

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 16 22:17:44 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=571444

http://bugzilla.novell.com/show_bug.cgi?id=571444#c0


           Summary: Registry should be put in $XDG_DATA_HOME, not ~/.mono
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: chris at szikszoy.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: ---


http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/corlib/Microsoft.Win32/UnixRegistryApi.cs

shows that on line 563 & 564 the path to the registry is set to
~/.mono/registry

Environment.SpecialFolder.LocalApplicationData should be used so that data is
stored in ~/.local/share/

Here's a small fix for this:

return Path.Combine (Environment.GetFolderPath
(Environment.SpecialFolder.LocalApplicationData), "mono/registry");

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list