www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5888] New: createKey and getKey in registry.d always use KEY_ALL_ACCESS

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5888

           Summary: createKey and getKey in registry.d always use
                    KEY_ALL_ACCESS
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: verylonglogin.reg gmail.com



---
createKey and getKey functions should use "access" argument instead of
REGSAM.KEY_ALL_ACCESS at lines 1087 and 1147 like this:
-1087: ,   REGSAM.KEY_ALL_ACCESS
+1087: ,   access
-1147: LONG    lRes    =   Reg_OpenKeyExA_(m_hkey, name, REGSAM.KEY_ALL_ACCESS,
hkey);
+1147: LONG    lRes    =   Reg_OpenKeyExA_(m_hkey, name, access
, hkey);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 25 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5888


Denis <verylonglogin.reg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



---
Fixed with other issues in:
https://github.com/D-Programming-Language/phobos/commit/830537e508c6960fc139a42dc3f2024ade9cb564

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 09 2011