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) { @@ -832,7 +832,10 @@ static inline int parse_customsignals(ctx_t *ctx_p, char *arg) {
832 case 0: 832 case 0:
833 case ',': 833 case ',':
834 case ':': 834 case ':':
835 - signal = (unsigned int)xstrtol(start, &ret); 835 + // TODO: use xstrtol() instead of atoi()
  836 +
  837 + //signal = (unsigned int)xstrtol(start, &ret);
  838 + signal = (unsigned int)atoi(start);
836 if (ret) { 839 if (ret) {
837 errno = ret; 840 errno = ret;
838 return errno; 841 return errno;