Mac OS X port use safe string functions don't core dump if given host list is empty fixed host name length measurement when reading from stdin.