From: Joe Swatosh Date: 2016-04-15T12:04:25-07:00 Subject: [ruby-core:74974] Re: [Ruby trunk Bug#12264] Win32::Registry::API.DeleteKey and DeleteValue reference renamed constants --===============1183518177== Content-Type: multipart/alternative; boundary=94eb2c09361aec155d05308aad6d --94eb2c09361aec155d05308aad6d Content-Type: text/plain; charset=UTF-8 Thanks! On Sun, Apr 10, 2016 at 4:50 AM, wrote: > Issue #12264 has been updated by Nobuyoshi Nakada. > > Description updated > Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: > REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED > > ---------------------------------------- > Bug #12264: Win32::Registry::API.DeleteKey and DeleteValue reference > renamed constants > https://bugs.ruby-lang.org/issues/12264#change-57993 > > * Author: Joe Swatosh > * Status: Open > * Priority: Normal > * Assignee: > * ruby -v: 2.1 and 2.2 > * Backport: 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED > ---------------------------------------- > The fix for https://bugs.ruby-lang.org/issues/10820 ( > https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/49542) > started using the wide version of the registry APIs. > > ************** > ```diff > --- > D:/Ruby/ruby-2.1.8-i386-mingw32/lib/ruby/2.1.0/win32/registry.rb.original > Tue Jan 12 05:21:04 2016 > +++ D:/Ruby/ruby-2.1.8-i386-mingw32/lib/ruby/2.1.0/win32/registry.rb > Mon Apr 4 08:17:45 2016 > @@ -321,11 +321,11 @@ For detail, see the MSDN[http://msdn.microsoft.com > end > > def DeleteValue(hkey, name) > - check RegDeleteValue.call(hkey, make_wstr(name)) > + check RegDeleteValueW.call(hkey, make_wstr(name)) > end > > def DeleteKey(hkey, name) > - check RegDeleteKey.call(hkey, make_wstr(name)) > + check RegDeleteKeyW.call(hkey, make_wstr(name)) > end > > def FlushKey(hkey) > ``` > ************************* > > Is a follow up to make the referenced constants match the renames.... > Thanks! > > ---Files-------------------------------- > d.diff (656 Bytes) > > > -- > https://bugs.ruby-lang.org/ > > Unsubscribe: > > --94eb2c09361aec155d05308aad6d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks!

On Sun, Apr 10, 2016 at 4:50 AM, <nobu@ruby-lang.org>= ; wrote:
Issue #12264 has been upd= ated by Nobuyoshi Nakada.

Description updated
Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: REQU= IRED, 2.2: REQUIRED, 2.3: REQUIRED

----------------------------------------
Bug #12264: Win32::Registry::API.DeleteKey and DeleteValue reference rename= d constants
https://bugs.ruby-lang.org/issues/12264#c= hange-57993

* Author: Joe Swatosh
* Status: Open
* Priority: Normal
* Assignee:
* ruby -v: 2.1 and 2.2
* Backport: 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED
----------------------------------------
The fix for https://bugs.ruby-lang.org/issues/10820 (https://bugs.ruby-lang.org/proj= ects/ruby-trunk/repository/revisions/49542) started using the wide vers= ion of the registry APIs.

**************
```diff

--94eb2c09361aec155d05308aad6d-- --===============1183518177== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Unsubscribe: --===============1183518177==--