redmine

Reverted one line of 41283d13

Function parse_customsignals() is adapted for atoi() and doesn't
work with xstrtol().

Temporary reversed xstrtol() to atoi() in this function
Showing 1 changed file with 4 additions and 1 deletions
... ... @@ -832,7 +832,10 @@ static inline int parse_customsignals(ctx_t *ctx_p, char *arg) {
case 0:
case ',':
case ':':
signal = (unsigned int)xstrtol(start, &ret);
// TODO: use xstrtol() instead of atoi()
//signal = (unsigned int)xstrtol(start, &ret);
signal = (unsigned int)atoi(start);
if (ret) {
errno = ret;
return errno;
... ...