[[ Bug 13594 ]] Check whether strtoul failed with errno instead