List Info

Thread: several typo in windows-pr.




several typo in windows-pr.
country flaguser name
United States
2007-02-28 09:01:43
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 /defs+(w+)/
      defs = $1
    end
  end
end


------------------------------------------------------------
----------

You can respond by visiting: 
http://rubyforge.org/tracker/
?func=detail&atid=411&aid=8942&group_id=85
_______________________________________________
win32utils-devel mailing list
win32utils-develrubyforge.org
http://rubyforge.org/mailman/listinfo/win32utils-devel


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )