On Thu, Jul 25, 2013 at 2:05 AM, Roland Mainz <[email protected]> wrote:
> While resuming work on the testsuite module for typeset -c I hit this
> crash with ast-ksh.2013-07-19 on SuSE 12.3/AMD64/64bit:
> -- snip --
> $ gdb --args ~/bin/ksh -c 'function f { compound c=(bool -a a=(
> [1][0][0]=true [1][1][1]=true ) ) ; typeset -c cp=c.a ; print -v cp ;
> }; f'
> [snip]

Mhhh... the test doesn't even require typeset -c ... just copying a
compound variable is sufficient:
-- snip --
$ ksh -c 'function f { compound c=(bool -a a=( [1][0][0]=true
[1][1][1]=true ) ) ; compound x=c ; print -v x ; }; f'
Segmentation fault
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to