mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/dbm/dbm.c (Init_dbm): defines DBM::VERSION even when
DB_VERSION_STRING is not available. [ruby-dev:34569] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
66fd14cbe6
commit
4f811857fa
3 changed files with 10 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Fri May 2 13:04:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ext/dbm/dbm.c (Init_dbm): defines DBM::VERSION even when
|
||||
DB_VERSION_STRING is not available. [ruby-dev:34569]
|
||||
|
||||
Thu May 1 23:57:06 2008 James Edward Gray II <jeg2@ruby-lang.org>
|
||||
|
||||
Merged 16257 from trunk.
|
||||
|
|
|
|||
|
|
@ -812,5 +812,7 @@ Init_dbm()
|
|||
|
||||
#ifdef DB_VERSION_STRING
|
||||
rb_define_const(rb_cDBM, "VERSION", rb_str_new2(DB_VERSION_STRING));
|
||||
#else
|
||||
rb_define_const(rb_cDBM, "VERSION", rb_str_new2("unknown"));
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.8.7"
|
||||
#define RUBY_RELEASE_DATE "2008-05-01"
|
||||
#define RUBY_RELEASE_DATE "2008-05-02"
|
||||
#define RUBY_VERSION_CODE 187
|
||||
#define RUBY_RELEASE_CODE 20080501
|
||||
#define RUBY_RELEASE_CODE 20080502
|
||||
#define RUBY_PATCHLEVEL 5000
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 7
|
||||
#define RUBY_RELEASE_YEAR 2008
|
||||
#define RUBY_RELEASE_MONTH 5
|
||||
#define RUBY_RELEASE_DAY 1
|
||||
#define RUBY_RELEASE_DAY 2
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue