diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-28 06:05:16 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-28 06:05:16 +0000 |
| commit | e0029988fbb356e605ad4b80ddbffba3064c6faf (patch) | |
| tree | a301eca0ffde2944e78464fc742ccdab165f417a | |
| parent | a8ad0f64985bc561a9eb3871e71fef49c332f77d (diff) | |
* error.c (rb_bug): description from rb_bug() should include
patchlevel. [ruby-dev:34826]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | error.c | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -5,6 +5,11 @@ Wed May 28 12:52:41 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * object.c (convert_type): ditto. +Tue May 27 23:26:49 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * error.c (rb_bug): description from rb_bug() should include + patchlevel. [ruby-dev:34826] + Tue May 27 20:19:22 2008 Akinori MUSHA <knu@iDaemons.org> * array.c (rb_ary_slice_bang): Return an empty array instead of @@ -30,6 +30,7 @@ #endif extern const char ruby_version[], ruby_release_date[], ruby_platform[]; +extern const int ruby_patchlevel; int ruby_nerrs; @@ -208,8 +209,8 @@ rb_bug(fmt, va_alist) va_init_list(args, fmt); vfprintf(out, fmt, args); va_end(args); - fprintf(out, "\nruby %s (%s) [%s]\n\n", - ruby_version, ruby_release_date, ruby_platform); + fprintf(out, "\nruby %s (%s patchlevel %d) [%s]\n\n", + ruby_version, ruby_release_date, ruby_patchlevel, ruby_platform); } abort(); } |
