Branch: Tag:

2018-02-22

2018-02-22 19:21:47 by Martin Nilsson <nilsson@fastmail.com>

Calculate base_sp in bad_arg_error.

2175:    switch(type)    {    default: -  bad_arg_error("lock", Pike_sp-args, args, 2, "int(0..2)", Pike_sp+1-args, +  bad_arg_error("lock", NULL, args, 2, "int(0..2)", Pike_sp+1-args,    "Unknown mutex locking style: %"PRINTPIKEINT"d\n",type);      
2278:    switch(type)    {    default: -  bad_arg_error("trylock", Pike_sp-args, args, 2, "int(0..2)", Pike_sp+1-args, +  bad_arg_error("trylock", NULL, args, 2, "int(0..2)", Pike_sp+1-args,    "Unknown mutex locking style: %"PRINTPIKEINT"d\n",type);       case 0: