ruby-changes:3152
From: ko1@a...
Date: 25 Dec 2007 11:34:06 +0900
Subject: [ruby-changes:3152] nobu - Ruby:r14644 (trunk): * error.c (report_bug): uses ruby_description.
nobu 2007-12-25 11:33:54 +0900 (Tue, 25 Dec 2007) New Revision: 14644 Modified files: trunk/ChangeLog trunk/error.c Log: * error.c (report_bug): uses ruby_description. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14644&r2=14643 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/error.c?r1=14644&r2=14643 Index: ChangeLog =================================================================== --- ChangeLog (revision 14643) +++ ChangeLog (revision 14644) @@ -1,3 +1,7 @@ +Tue Dec 25 11:33:52 2007 Nobuyoshi Nakada <nobu@r...> + + * error.c (report_bug): uses ruby_description. + Tue Dec 25 11:20:38 2007 Koichi Sasada <ko1@a...> * compile.c (iseq_compile_each): fix stack consistency error. Index: error.c =================================================================== --- error.c (revision 14643) +++ error.c (revision 14644) @@ -23,7 +23,7 @@ #define EXIT_SUCCESS 0 #endif -extern const char ruby_version[], ruby_release_date[], ruby_platform[]; +extern const char ruby_desription[]; static int err_position_0(char *buf, long len, const char *file, int line) @@ -208,11 +208,10 @@ if (fwrite(buf, 1, len, out) == len || fwrite(buf, 1, len, (out = stdout)) == len) { - rb_vm_bugreport(); fputs("[BUG] ", out); vfprintf(out, fmt, args); - fprintf(out, "\nruby %s (%s) [%s]\n\n", - ruby_version, ruby_release_date, ruby_platform); + fprintf(out, "\n%s\n\n", ruby_description); + rb_vm_bugreport(); } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml