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: eb2e0676cd162af963a3cb2fad48ba3f458b4c4c
parent: f2c5d6627169cbe3912fe62366ae76c8704e415e
author: Brian Callahan <dodonpachi-github@mailinator.com>
date:   Sat, 13 Jun 2015 14:20:54 -0400
FreeBSD/DragonFly BSD has an array one char larger than OpenBSD. Fix that.
Mportable/freebsd/freebsd.h2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/portable/freebsd/freebsd.h b/portable/freebsd/freebsd.h
@@ -7,5 +7,5 @@
 #include <time.h>
 
 /* Defines */
-#define _PW_NAME_LEN	MAXLOGNAME
+#define _PW_NAME_LEN	MAXLOGNAME - 1
 #define srand_deterministic(x)	srand(x)