oksh-noxz

[fork] Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh).
git clone https://noxz.tech/git/oksh-noxz.git
oksh-noxz

commit: 5bbd418ff3631968dd78c2aede811f96e15a4cbf
parent: 4578528c25d10a4b990198d7edccf111f3feecd3
author: Brian Callahan <ibara@users.noreply.github.com>
date:   Wed, 24 Jun 2020 14:35:48 -0400
HP-UX support

Learned from #395bbd418ff3631968dd78c2aede811f96e15a4cbf
 portable.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/portable.h b/portable.h
@@ -61,6 +61,8 @@
 #define _PW_NAME_LEN	MAXLOGNAME
 #elif defined(__sun)
 #define _PW_NAME_LEN	LOGNAME_MAX
+#elif defined(__hpux)
+#define _PW_NAME_LEN	8
 #else
 #define _PW_NAME_LEN	MAXLOGNAME - 1
 #endif /* __linux__ || __CYGWIN__ || _AIX || __NetBSD__ || __sun || __midipix__ || __HAIKU__ */