Am 9/6/2011 11:13, schrieb Nix: > ... amounts to writing our own strtol() > specifically for this one case, to see if the parsed number is > too long. Why so? strtol() can report overflow: RETURN VALUE ... If the correct value is outside the range of representable values, {LONG_MIN}, {LONG_MAX}, {LLONG_MIN}, or {LLONG_MAX} shall be returned (according to the sign of the value), and errno set to [ERANGE]. -- Hannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html