summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 13:14:50 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 13:14:50 +0000
commit281833f5fe3584a31dc53a708858cf181a282c80 (patch)
treed6f929de6d9455a1b08993020253d2bae90c4432 /error.c
parent520bf6bb346b94377cd544f203d1a8c0d39866e7 (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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/error.c b/error.c
index 4dd5a421b4..c6d7e6e107 100644
--- a/error.c
+++ b/error.c
@@ -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();
}