fix for bug #3517 HPUX hosts truncate the hostname to eight characters
modification of utsname functionality #1