Project

General

Profile

Bug #7805 ยป marshal-c-volatile.patch

ngoto (Naohisa Goto), 02/22/2013 05:03 PM

View differences:

marshal.c (working copy)
VALUE obj, port, a1, a2;
int limit = -1;
struct dump_arg *arg;
VALUE wrapper;
volatile VALUE wrapper;
port = Qnil;
rb_scan_args(argc, argv, "12", &obj, &a1, &a2);
......
VALUE port, proc;
int major, minor, infection = 0;
VALUE v;
VALUE wrapper;
volatile VALUE wrapper;
struct load_arg *arg;
rb_scan_args(argc, argv, "11", &port, &proc);
    (1-1/1)