[OmniOS-discuss] LX: real ksh93 broken

Michael Rasmussen mir at miras.org
Thu May 11 14:33:29 UTC 2017


On Thu, 11 May 2017 11:11:14 +0200
Ludovic Orban <lorban at bitronix.be> wrote:

> 
> Apparently, ksh isn't very happy when CHILD_MAX equals to MAX_INT, but
> that's probably a ksh bug.
> 
Could it be ksh interprets int as it was defined in the 32bit OS days
int = 16bit = INT_MAX 32767 and expecting to receive a signed
int?

This is obviously wrong since ISO/IEC 9899 only requires an int to be
at least 2^16 - 1. INT_MAX is defined in limits.h

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Witch!  Witch!  They'll burn ya!
		-- Hag, "Tomorrow is Yesterday", stardate unknown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://omniosce.org/ml-archive/attachments/20170511/fde29ebc/attachment.bin>


More information about the OmniOS-discuss mailing list