some fixes
This commit is contained in:
parent
8c20f8435f
commit
cb321d68ed
3 changed files with 35 additions and 31 deletions
|
|
@ -90,7 +90,8 @@ def _uudecode_file(file, outfile)
|
|||
next if line =~ /[a-z]/
|
||||
next if line == nil
|
||||
next unless ((((line[0].ord - 32) & 077) + 2) / 3).to_i == (line.length/4).to_i
|
||||
line.unpack("u").each{|x| outfile.print x}
|
||||
#line.unpack("u").each{|x| outfile.print x}
|
||||
line.unpack("u").each{|x| outfile.write x}
|
||||
end
|
||||
|
||||
puts "No \"end\" found!!!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue