parent
b92d599eec
commit
347993e95c
Notes:
git
2023-08-23 04:45:39 +00:00
3
ruby.c
3
ruby.c
@ -2888,12 +2888,13 @@ ruby_process_options(int argc, char **argv)
|
|||||||
set_progname(external_str_new_cstr(script_name)); /* for the time being */
|
set_progname(external_str_new_cstr(script_name)); /* for the time being */
|
||||||
rb_argv0 = rb_str_new4(rb_progname);
|
rb_argv0 = rb_str_new4(rb_progname);
|
||||||
rb_gc_register_mark_object(rb_argv0);
|
rb_gc_register_mark_object(rb_argv0);
|
||||||
iseq = process_options(argc, argv, cmdline_options_init(&opt));
|
|
||||||
|
|
||||||
#ifndef HAVE_SETPROCTITLE
|
#ifndef HAVE_SETPROCTITLE
|
||||||
ruby_init_setproctitle(argc, argv);
|
ruby_init_setproctitle(argc, argv);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
iseq = process_options(argc, argv, cmdline_options_init(&opt));
|
||||||
|
|
||||||
return (void*)(struct RData*)iseq;
|
return (void*)(struct RData*)iseq;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user