Bug #4203

broken RegCreateKeyExA definition in registry.rb

Added by Rafał Michalski over 4 years ago. Updated about 4 years ago.

[ruby-core:33874]
Status:Closed
Priority:High
Assignee:Luis Lavena
ruby -v:ruby 1.9.2p0 (2010-08-18) [i386-mingw32] Backport:

Description

=begin
in ext/dl/win32/lib/win32/registry.rb:

definition of advapi32.dll function: RegCreateKeyExA is broken (missing one argument). See: http://msdn.microsoft.com/en-us/library/ms724844%28v=vs.85%29.aspx
This bug was introduced in 1.9.2.

It is impossible (since 1.9.2) to create registry keys with Win32::Registry.create (raises ArgumentError) without this fix.
=end

ruby-changes.patch Magnifier (1.24 KB) Rafał Michalski, 12/25/2010 09:45 PM

History

#1 Updated by Luis Lavena over 4 years ago

=begin
Hello,

Indeed is a bug, will apply patch to trunk first.

Thank you.
=end

#2 Updated by Luis Lavena over 4 years ago

  • Assignee set to Luis Lavena

=begin

=end

#3 Updated by Luis Lavena over 4 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30377.
Rafał, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF