This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Description
this code
i=0
v=a
s=
while ((i < 10000)); do
((++i))
s+=$v
done
[[ $s == +($v) ]]
reliably segfaults with current ksh2020, the problem is in this case inherited from ksh93v- (which in turn inherited it, for a change, from ksh93u+, so this is not a regression but an original ksh93 bug I presume).
the extended glob pattern in the final test is causing the segfault.