[Win32utils-devel] [ win32utils-Bugs-8942 ] several typo in windows-pr.

noreply at rubyforge.org noreply at rubyforge.org
Wed Feb 28 10:01:43 EST 2007


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


More information about the win32utils-devel mailing list