[#20227] dyna_vars problem? — Tanaka Akira <akr@...17n.org>

しばらく前から、稀に Ruby が core を吐くという問題を追いかけているので

15 messages 2003/05/19
[#20234] Re: dyna_vars problem? — matz@... (Yukihiro Matsumoto) 2003/05/19

まつもと ゆきひろです

[#20236] Re: dyna_vars problem? — Tanaka Akira <akr@...17n.org> 2003/05/19

In article <1053363181.529491.30320.nullmailer@picachu.netlab.jp>,

[ruby-dev:20204] [PATCH] #include "version.h"

From: Minero Aoki <aamine@...>
Date: 2003-05-19 04:22:10 UTC
List: ruby-dev #20204
青木です。

  ~/s/ruby % grep -l RUBY_VERSION_CODE *.c
  class.c
  hash.c
  string.c

  ~/s/ruby % fgrep -l version.h *.c
  error.c
  version.c

ということで class.c hash.c string.c に #include "version.h" が
足りませぬ。
-------------------------------------------------------------------
青木峰郎

--- class.c	15 May 2003 07:57:07 -0000	1.63
+++ class.c	19 May 2003 04:14:44 -0000
@@ -14,6 +14,7 @@
 #include "rubysig.h"
 #include "node.h"
 #include "st.h"
+#include "version.h"
 #include <ctype.h>
 
 extern st_table *rb_class_tbl;

--- hash.c	6 May 2003 06:51:27 -0000	1.100
+++ hash.c	19 May 2003 04:14:59 -0000
@@ -16,6 +16,7 @@
 #include "st.h"
 #include "util.h"
 #include "rubysig.h"
+#include "version.h"
 
 #ifdef __APPLE__
 #include <crt_externs.h>

--- string.c	2 May 2003 06:41:31 -0000	1.153
+++ string.c	19 May 2003 04:14:29 -0000
@@ -14,6 +14,7 @@
 
 #include "ruby.h"
 #include "re.h"
+#include "version.h"
 
 #define BEG(no) regs->beg[no]
 #define END(no) regs->end[no]

In This Thread

Prev Next