diff --git a/ChangeLog b/ChangeLog index 9a1e7ebb95..0417dadc66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Dec 22 00:56:43 2007 Yukihiro Matsumoto + + * sample/test.rb (valid_syntax): force_encoding input script. + Fri Dec 21 23:48:38 2007 NAKAMURA Usaku * lib/mkmf.rb (depend_rules): suffixes list broken. fixed. diff --git a/sample/test.rb b/sample/test.rb index a9940039cd..52898d582c 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -1866,6 +1866,7 @@ end def valid_syntax?(code, fname) p fname + code.force_encoding("ascii-8bit") code = code.sub(/\A(?:\s*\#.*$)*(\n)?/n) { "#$&#{"\n" if $1 && !$2}BEGIN{return true}\n" } diff --git a/version.h b/version.h index 447c0416c4..b4e47dfdf2 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-12-21" +#define RUBY_RELEASE_DATE "2007-12-22" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20071221 +#define RUBY_RELEASE_CODE 20071222 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 12 -#define RUBY_RELEASE_DAY 21 +#define RUBY_RELEASE_DAY 22 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[];