Igor Kozhukhov wrote:
additional reason move on from illumos KSH93.

I  have found issue with zfs tests 'zvol_swap' whare we try to read 2G volsize in bytes.

try to do simple test:

#!/bin/ksh -p
typeset -i var=2147483648
echo $var

and i can see:
# ksh93 v.ksh
-2147483648

it is incorrect - it should not to be less 0

Why? You declare it as 'int' using 'typeset -i', and get the correct result.

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/T42f8147492666f65-M6291aec09bcfedb84c9c9bea
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to