From 3695844deadd90e1891b8952c849c18c76524bf9 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 30 Aug 2008 05:48:09 +0000 Subject: * ext/dl/mkcallback.rb: fix continuation line detection. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ext/dl/mkcallback.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 70fb5dc62..301525991 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Aug 30 14:47:30 2008 Tanaka Akira + + * ext/dl/mkcallback.rb: fix continuation line detection. + Sat Aug 30 14:39:51 2008 Tanaka Akira * ext/dl/mkcallback.rb (rb_dl_init_callbacks): avoid GC problem which diff --git a/ext/dl/mkcallback.rb b/ext/dl/mkcallback.rb index 4dbd0d6ef..89d3a1c10 100644 --- a/ext/dl/mkcallback.rb +++ b/ext/dl/mkcallback.rb @@ -6,7 +6,7 @@ File.open($dl_h){|f| pre = "" f.each{|line| line.chop! - if( line[-1] == ?\ ) + if( line[-1] == ?\\ ) line.chop! line.concat(" ") pre += line -- cgit