Hi!
----
We're hitting a couple of failures when running the ksh93 test suite
on Solaris 11/SPARC/64biit (32bit builds pass the same tests without
problems):
-- snip --
comvar.sh[527]: typeset: ?: arithmetic syntax error
cubetype.sh: line 59: @@: arithmetic syntax error
pointtype.sh: line 47: ?: arithmetic syntax error
recttype.sh: line 60: @: arithmetic syntax error
-- snip --
(note these are technically at least two issues: 1. The syntax error
and 2. that the string before the "arithmetic syntax error" is more or
less ransom garbage)
After some testing we found that the issue can be reduced to this kind
of testcase:
-- snip --
typeset -T foo_t=(
function diff
{
print 1.0
return 0
}
)
foo_t sw
compound output=(
integer one=1
float mydiff=sw.diff
float end=.314
)
-- snip --
Running this returns this:
-- snip --
$ ./arch/sol11.sun4/bin/ksh -x sparc64_syntax_error.sh
+ typeset -T foo_t
+ foo_t sw
+ output.one=1
+ typeset -li output.one
+ output.mydiff=sw.diff
+ typeset -lE output.mydiff
+ sw.diff
sparc64_syntax_error.sh[11]: typeset: ?: arithmetic syntax error
-- 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]
https://mailman.research.att.com/mailman/listinfo/ast-developers