Project

General

Profile

Bug #9273 » 0001-Ignore-encoding-issues.patch

vo.x (Vit Ondruch), 12/21/2013 06:28 AM

View differences:

lib/resolv.rb
ndots = 1
open(filename) {|f|
f.each {|line|
line.sub!(/[#;].*/, '')
line.scrub!.sub!(/[#;].*/, '')
keyword, *args = line.split(/\s+/)
args.each { |arg|
arg.untaint
(2-2/2)