Mark J. Nelson wrote:
> I don't have any other comments.
> 

After expanding the set of test cases and doing retesting I have bumped 
into interesting feature of ksh (and a bug in the script):

#!/usr/bin/ksh
fce1()
{
        typeset -r host_spec=$1
}

fce2()
{
        typeset -r host_spec=$1
}

fce1 "foo"
print $host_spec
fce2 "bar"
print $host_spec


This will fail in fce2() when assigning the value. To fix this, the 
functions should be defined as, er, functions:

function fce1
{
...
}
...

Incremental webrev is here:
   http://cr.opensolaris.org/~vkotal/webrev_delete-6771203.onnv.rd2/


v.

Reply via email to