File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ Wed Aug 9 13:24:25 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
4
4
5
5
Mon Aug 7 13:59:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp>
6
6
7
+ * ruby.h (CLONESETUP): should copy flags before any potential
8
+ object allocation.
9
+
7
10
* regex.c (re_match): check for stack depth was needed.
8
11
9
12
Sat Aug 5 16:43:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
Original file line number Diff line number Diff line change @@ -199,8 +199,8 @@ char *rb_str2cstr _((VALUE,int*));
199
199
VALUE rb_newobj _ ((void ));
200
200
#define NEWOBJ (obj ,type ) type *obj = (type*)rb_newobj()
201
201
#define OBJSETUP (obj ,c ,t ) {\
202
- RBASIC(obj)->klass = (c);\
203
202
RBASIC(obj)->flags = (t);\
203
+ RBASIC(obj)->klass = (c);\
204
204
if (rb_safe_level() >= 3) FL_SET(obj, FL_TAINT);\
205
205
}
206
206
#define CLONESETUP (clone ,obj ) do {\
You can’t perform that action at this time.
0 commit comments