From: Marcus Rueckert Date: 2008-12-08T22:13:59+09:00 Subject: [ruby-core:20420] Fix parsing of config.status in mkconfig.rb --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi, it seems continued lines can be "", which wasnt matched by the regexp. while i was debugging the issue i noticed we didnt skip the additional processing when we encountered a continued line. The patch handles both issues. with kind regards darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --TB36FDmn/VVEgNH/ Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="ruby-1.9.1-preview2_mkconfig_continued_line.patch" Index: mkconfig.rb =================================================================== --- mkconfig.rb.orig +++ mkconfig.rb @@ -56,13 +56,15 @@ File.foreach "config.status" do |line| continued_name = name next end - when /^"(.+)"\s*(\\)?$/ + when /^"(.*)"\s*(\\)?$/ if continued_line continued_line << $1 unless $2 - val = continued_line.join("") - name = continued_name - continued_line = nil + val = continued_line.join("") + name = continued_name + continued_line = nil + else + next end end when /^(?:ac_given_)?INSTALL=(.*)/ --TB36FDmn/VVEgNH/--