From 2a47cab08f75502264f2e97b794467835baa5bcb Mon Sep 17 00:00:00 2001 From: tg Date: Tue, 27 Mar 2012 22:49:47 +0000 Subject: [PATCH] add a note that mksh_{,u}ari_t are, sadly, not currently configurable --- sh.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sh.h b/sh.h index af3c606..74d0a63 100644 --- a/sh.h +++ b/sh.h @@ -152,7 +152,7 @@ #endif #ifdef EXTERN -__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.532 2012/03/27 22:41:17 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.533 2012/03/27 22:49:47 tg Exp $"); #endif #define MKSH_VERSION "R40 2012/03/27" @@ -167,6 +167,14 @@ typedef u_int32_t uint32_t; #endif /* arithmetic types: shell arithmetics */ +/* + * NOTE: these are currently hard-coded to exactly 32 bit, do not change + * + * TODO: make these configurable, or add 64-bit arithmetic, somehow + * (on some operating environments, 64-bit types are needed for some + * things, such as the ulimit builtin, to work proper), except mksh + * must still be able to run on systems with no native 64-bit integers + */ typedef int32_t mksh_ari_t; typedef uint32_t mksh_uari_t;