Project

General

Profile

Bug #13788 ยป origarg.patch

branan (Branan Riley), 08/07/2017 09:30 PM

View differences:

ruby.c
return rb_str_new(0, 0);
}
#ifdef __linux__
else if (dli.dli_fname == origarg.argv[0]) {
else if (origarg.argv && dli.dli_fname == origarg.argv[0]) {
fname = rb_str_new_cstr("/proc/self/exe");
path = rb_readlink(fname, NULL);
}
    (1-1/1)