noreply at rubyforge.org
2007-Feb-28 14:59 UTC
[Win32utils-devel] [ win32utils-Bugs-8942 ] several typo in windows-pr.
Bugs item #8942, was opened at 2007-02-28 23:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85 Category: windows-pr Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Katsuyuki MIYAMUKO (miyamuko) Assigned to: Nobody (None) Summary: several typo in windows-pr. Initial Comment: I found typo in windows-pr. Attached is a patch against windows-pr HEAD. I checked all windows-pr sources using following script. Thanks, -- class String def normalize self.downcase.gsub(/_/, "") end end ARGV.each do |file| defs = nil File.read(file).each_with_index do |line, i| case line when /(\w+)\s*=\s*Win32API.new\([^,]+?,\s*.(\w+)/ a, b = $1, $2 p ["Win32API", file, i + 1, a, b] if a.normalize != b.normalize when /(\w+).call\(/ next unless defs a = $1 p ["def/call", file, i + 1, defs, a] if a.normalize != defs.normalize when /def\s+(\w+)/ defs = $1 end end end ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85
noreply at rubyforge.org
2007-Feb-28 15:01 UTC
[Win32utils-devel] [ win32utils-Bugs-8942 ] several typo in windows-pr.
Bugs item #8942, was opened at 2007-02-28 23:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85 Category: windows-pr Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Katsuyuki MIYAMUKO (miyamuko) Assigned to: Nobody (None) Summary: several typo in windows-pr. Initial Comment: I found typo in windows-pr. Attached is a patch against windows-pr HEAD. I checked all windows-pr sources using following script. Thanks, -- class String def normalize self.downcase.gsub(/_/, "") end end ARGV.each do |file| defs = nil File.read(file).each_with_index do |line, i| case line when /(\w+)\s*=\s*Win32API.new\([^,]+?,\s*.(\w+)/ a, b = $1, $2 p ["Win32API", file, i + 1, a, b] if a.normalize != b.normalize when /(\w+).call\(/ next unless defs a = $1 p ["def/call", file, i + 1, defs, a] if a.normalize != defs.normalize when /def\s+(\w+)/ defs = $1 end end end ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85
noreply at rubyforge.org
2007-Mar-01 01:38 UTC
[Win32utils-devel] [ win32utils-Bugs-8942 ] several typo in windows-pr.
Bugs item #8942, was opened at 2007-02-28 07:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85 Category: windows-pr Group: Code Status: Open>Resolution: Accepted >Priority: 5Submitted By: Katsuyuki MIYAMUKO (miyamuko)>Assigned to: Daniel Berger (djberg96)Summary: several typo in windows-pr. Initial Comment: I found typo in windows-pr. Attached is a patch against windows-pr HEAD. I checked all windows-pr sources using following script. Thanks, -- class String def normalize self.downcase.gsub(/_/, "") end end ARGV.each do |file| defs = nil File.read(file).each_with_index do |line, i| case line when /(\w+)\s*=\s*Win32API.new\([^,]+?,\s*.(\w+)/ a, b = $1, $2 p ["Win32API", file, i + 1, a, b] if a.normalize != b.normalize when /(\w+).call\(/ next unless defs a = $1 p ["def/call", file, i + 1, defs, a] if a.normalize != defs.normalize when /def\s+(\w+)/ defs = $1 end end end ---------------------------------------------------------------------->Comment By: Daniel Berger (djberg96)Date: 2007-02-28 18:38 Message: Thank you very much for the diff and the helper script. I''ll apply those to CVS tonight. Since some of those could be rather crucial, expect an 0.6.5 release soon. Dan ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85
noreply at rubyforge.org
2007-Mar-01 02:10 UTC
[Win32utils-devel] [ win32utils-Bugs-8942 ] several typo in windows-pr.
Bugs item #8942, was opened at 2007-02-28 07:59 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85 Category: windows-pr Group: Code>Status: ClosedResolution: Accepted Priority: 5 Submitted By: Katsuyuki MIYAMUKO (miyamuko) Assigned to: Daniel Berger (djberg96) Summary: several typo in windows-pr. Initial Comment: I found typo in windows-pr. Attached is a patch against windows-pr HEAD. I checked all windows-pr sources using following script. Thanks, -- class String def normalize self.downcase.gsub(/_/, "") end end ARGV.each do |file| defs = nil File.read(file).each_with_index do |line, i| case line when /(\w+)\s*=\s*Win32API.new\([^,]+?,\s*.(\w+)/ a, b = $1, $2 p ["Win32API", file, i + 1, a, b] if a.normalize != b.normalize when /(\w+).call\(/ next unless defs a = $1 p ["def/call", file, i + 1, defs, a] if a.normalize != defs.normalize when /def\s+(\w+)/ defs = $1 end end end ---------------------------------------------------------------------->Comment By: Daniel Berger (djberg96)Date: 2007-02-28 19:10 Message: Fixed and included in windows-pr 0.6.5 ---------------------------------------------------------------------- Comment By: Daniel Berger (djberg96) Date: 2007-02-28 18:38 Message: Thank you very much for the diff and the helper script. I''ll apply those to CVS tonight. Since some of those could be rather crucial, expect an 0.6.5 release soon. Dan ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=8942&group_id=85
Reasonably Related Threads
- [ win32utils-Bugs-5479 ] Incorrect SetLastError declarations
- [ win32utils-Bugs-14298 ] windows-api 0.2.0/windows-pr 0.7.1 causes segfault with require of win32/file
- [ win32utils-Bugs-8039 ] Cannot send data that includes a binary 0
- [ win32utils-Bugs-12979 ] Error while trying to update my gem collection
- [ win32utils-Bugs-4598 ] possible wrong condition