Project

General

Profile

Bug #12355 ยป process-to-hash.patch

One-line patch for an argument-parsing bug in process.c. - fimmtiu (Dennis Taylor), 05/06/2016 06:29 PM

View differences:

process.c
}
}
if (0 < *argc_p) {
if (0 < *argc_p && !RB_TYPE_P((*argv_p)[0]), T_ARRAY) {
hash = rb_check_hash_type((*argv_p)[0]);
if (!NIL_P(hash)) {
*env_ret = hash;
    (1-1/1)