diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-25 12:01:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-25 12:01:41 +0000 |
commit | 8ce1b586cd0ffe2f2e3ab39d24b7e693b75d9783 (patch) | |
tree | aab619048df330eff7d27cb231c554184ce31389 /error.c | |
parent | 0f6766adfb58842509d45f98059bfee675fe571a (diff) | |
download | ruby-8ce1b586cd0ffe2f2e3ab39d24b7e693b75d9783.tar.gz ruby-8ce1b586cd0ffe2f2e3ab39d24b7e693b75d9783.tar.xz ruby-8ce1b586cd0ffe2f2e3ab39d24b7e693b75d9783.zip |
* version.c (ruby_show_copyright): obtain copyright year from
RUBY_RELEASE_YEAR.
* win32/resource.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,7 +12,6 @@ #include "ruby.h" #include "env.h" -#include "version.h" #include "st.h" #include <stdio.h> @@ -24,6 +23,8 @@ #define va_init_list(a,b) va_start(a) #endif +extern const char ruby_version[], ruby_release_date[], ruby_platform[]; + int ruby_nerrs; static int @@ -202,7 +203,7 @@ rb_bug(fmt, va_alist) vfprintf(out, fmt, args); va_end(args); fprintf(out, "\nruby %s (%s) [%s]\n\n", - RUBY_VERSION, RUBY_RELEASE_DATE, RUBY_PLATFORM); + ruby_version, ruby_release_date, ruby_platform); } abort(); } |