summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 13:29:09 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-17 13:29:09 -0800
commite0c9afd60eaa2209930e7a93f1d27d219a790e80 (patch)
tree54496b51484d4502c97c31a10ed9c0f4ee9c8647
parent017d1deaf923887df74b068c33d080008b0c25cf (diff)
unifdef hpux
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/CvtStdSel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/CvtStdSel.c b/src/CvtStdSel.c
index 8a1b05d..b08291b 100644
--- a/src/CvtStdSel.c
+++ b/src/CvtStdSel.c
@@ -100,15 +100,11 @@ get_os_name(void)
if (uname (&utss) >= 0) {
char *os_name;
int len = strlen(utss.sysname) + 1;
-#ifndef hpux /* because of hostname length crock */
len += 2 + strlen(utss.release);
-#endif
os_name = XtMalloc (len);
strcpy (os_name, utss.sysname);
-#ifndef hpux
strcat (os_name, " ");
strcat (os_name, utss.release);
-#endif
return os_name;
}
#endif