diff options
| author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 13:14:50 +0000 |
|---|---|---|
| committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 13:14:50 +0000 |
| commit | 281833f5fe3584a31dc53a708858cf181a282c80 (patch) | |
| tree | d6f929de6d9455a1b08993020253d2bae90c4432 /error.c | |
| parent | 520bf6bb346b94377cd544f203d1a8c0d39866e7 (diff) | |
* version.c (ruby_description, ruby_copyright): backported from
1.9. bug#19002, [ruby-dev:34883]
* error.c (report_bug): uses ruby_description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
| -rw-r--r-- | error.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -29,8 +29,7 @@ #define EXIT_SUCCESS 0 #endif -extern const char ruby_version[], ruby_release_date[], ruby_platform[]; -extern const int ruby_patchlevel; +extern const char *ruby_description; int ruby_nerrs; @@ -209,8 +208,7 @@ rb_bug(fmt, va_alist) va_init_list(args, fmt); vfprintf(out, fmt, args); va_end(args); - fprintf(out, "\nruby %s (%s patchlevel %d) [%s]\n\n", - ruby_version, ruby_release_date, ruby_patchlevel, ruby_platform); + fprintf(out, "\n%s\n\n", ruby_description); } abort(); } |
