[#3006] CVS repository — "Eugene Scripnik" <hoaz@...>

Hello.

21 messages 2004/06/16
[#3008] Re: CVS repository — ts <decoux@...> 2004/06/16

>>>>> "E" == Eugene Scripnik <hoaz@gala.net> writes:

[#3009] Re: CVS repository — Michal Rokos <michal@...> 2004/06/16

Hi!

[#3057] Ruby 1.8.2 to be released. — matz@... (Yukihiro Matsumoto)

Hi,

20 messages 2004/06/23

Re: [Patch] Move all stack info to gc.c

From: Michal Rokos <michal@...>
Date: 2004-06-25 08:58:12 UTC
List: ruby-core #3085
Hello,

On Friday 25 of June 2004 04:25, WATANABE Hirofumi wrote:
> Michal Rokos <michal@ruby-lang.org> writes:
> > I moved all stack-size info to gc.c
> > - remove _stklen, since it's not used....
>
> Don't remove _stklen.
>
> See: http://www.delorie.com/djgpp/v2faq/faq15_9.html

I see! I think that it deserved come comment, didn't it!

Do you want me to commit this?

	Michal

Index: gc.c
===================================================================
RCS file: /var/cvs/src/ruby/gc.c,v
retrieving revision 1.178
diff -u -p -r1.178 gc.c
--- gc.c        23 Jun 2004 12:59:01 -0000      1.178
+++ gc.c        25 Jun 2004 08:54:44 -0000
@@ -405,6 +405,11 @@ rb_data_object_alloc(klass, datap, dmark
 extern st_table *rb_class_tbl;
 VALUE *rb_gc_stack_start = 0;

+#ifdef DJGPP
+/* set stack size (http://www.delorie.com/djgpp/v2faq/faq15_9.html) */
+unsigned int _stklen = 0x180000; /* 1.5 kB */
+#endif
+
 #if defined(DJGPP) || defined(_WIN32_WCE)
 static unsigned int STACK_LEVEL_MAX = 65535;
 #elif defined(__human68k__)

In This Thread