mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* mkconfig.rb: fix for continued lines. based on a patch from
Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d64e40aeb0
commit
dfaf61504c
3 changed files with 13 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Dec 9 03:21:37 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* mkconfig.rb: fix for continued lines. based on a patch from
|
||||||
|
Marcus Rueckert <darix AT opensu.se> at [ruby-core:20420].
|
||||||
|
|
||||||
Mon Dec 8 23:34:18 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
Mon Dec 8 23:34:18 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||||
|
|
||||||
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
|
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
|
||||||
|
|
11
mkconfig.rb
11
mkconfig.rb
|
@ -55,14 +55,13 @@ File.foreach "config.status" do |line|
|
||||||
continued_name = name
|
continued_name = name
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
when /^"(.+)"\s*(\\)?$/
|
when /^"(.*)"\s*(\\)?$/
|
||||||
if continued_line
|
if continued_line
|
||||||
continued_line << $1
|
continued_line << $1
|
||||||
unless $2
|
next if $2
|
||||||
val = continued_line.join("")
|
val = continued_line.join("")
|
||||||
name = continued_name
|
name = continued_name
|
||||||
continued_line = nil
|
continued_line = nil
|
||||||
end
|
|
||||||
end
|
end
|
||||||
when /^(?:ac_given_)?INSTALL=(.*)/
|
when /^(?:ac_given_)?INSTALL=(.*)/
|
||||||
v_fast << " CONFIG[\"INSTALL\"] = " + $1 + "\n"
|
v_fast << " CONFIG[\"INSTALL\"] = " + $1 + "\n"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.8.7"
|
#define RUBY_VERSION "1.8.7"
|
||||||
#define RUBY_RELEASE_DATE "2008-12-08"
|
#define RUBY_RELEASE_DATE "2008-12-09"
|
||||||
#define RUBY_VERSION_CODE 187
|
#define RUBY_VERSION_CODE 187
|
||||||
#define RUBY_RELEASE_CODE 20081208
|
#define RUBY_RELEASE_CODE 20081209
|
||||||
#define RUBY_PATCHLEVEL 5000
|
#define RUBY_PATCHLEVEL 5000
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 7
|
#define RUBY_VERSION_TEENY 7
|
||||||
#define RUBY_RELEASE_YEAR 2008
|
#define RUBY_RELEASE_YEAR 2008
|
||||||
#define RUBY_RELEASE_MONTH 12
|
#define RUBY_RELEASE_MONTH 12
|
||||||
#define RUBY_RELEASE_DAY 8
|
#define RUBY_RELEASE_DAY 9
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue