rem: if (min <= number && number <= max)
add: if (errno != ERANGE && min <= number && number <= max)
context: string_to_number(const char *s, int min, int max){	int number;	char *end;	/* Handle hex, octal, etc. */	number = (int)strtol(s, &end, 0);	if (*end == '\0' && end != s) {		/* we parsed a number, let's see if we want this */		if (min <= number && number <= max)			return number;	}	return -1;}