Nicholas, I uploaded a i686 ksh93 binary tar ball for Opensolaris B134 or better to http://www.nrubsig.org/people/fleyta/opensolaris/posixcore/opensolaris_ksh20100309_i686_20100520_rev2102.tar.bz2 The binaries contain a fix which should solve your problem and a new test suite module /usr/demo/ksh/tests/sun_solaris_math_misc.sh to watch the bug fix.
Please install it as root by: cd / cp /usr/bin/ksh /usr/bin/ksh.saved bzcat <opensolaris_ksh20100309_i686_20100520_rev2102.tar.bz2 | tar -xvof - rm /usr/bin/ksh ; cp /usr/bin/ksh.saved /usr/bin/ksh Hash values: sum -x md5 opensolaris_ksh20100309_i686_20100520_rev2102.tar.bz2 4139f70092dd40d6ee41d12cf82727dd opensolaris_ksh20100309_i686_20100520_rev2102.tar.bz2 sum -x sha256 opensolaris_ksh20100309_i686_20100520_rev2102.tar.bz2 d5b1a1961644df4c217271bb89bda90f5ae02ea87be43bc9ce54fc47418d1ca6 opensolaris_ksh20100309_i686_20100520_rev2102.tar.bz2 sum -x sha512 opensolaris_ksh20100309_i686_20100520_rev2102.tar.bz2 b503cfc5cb6e0555c51f380d69a8cabe8db0b297c986f3171628c31c0aacd52730f3d175ac32b1e5778da474e65d5469c39a1e63cf5bc76c8b29db328668a396 opensolaris_ksh20100309_i686_20100520_rev2102.tar.bz Let me know if the binaries do or do not fix your problem. If you need SPARC binaries let me know. Olga On Wed, May 19, 2010 at 12:36 AM, Nicholas George <nicholas.george.homeoff...@googlemail.com> wrote: > Hello list, > > we wish to have the bug below handled ASAP and are looking for at > least a year of full support for our existing Sun hardware running > Opensolaris. > Which support options does Oracle provide for Opensolaris? > How can we get forward? > How can we archive a quick solution for our existing problem? > > Nicolas > > ---------- Forwarded message ---------- > From: Nicholas George <nicholas.george.homeoff...@googlemail.com> > Date: 19 May 2010 00:31 > Subject: BUG: 'integer -a z=( [1]=90 ) ; function x { nameref nz=$1 ; > print " $((log10(nz)))==$((log10($nz)))" ; } ; x z[1]' prints two > different values > To: ksh93-integration-disc...@opensolaris.org, > shell-disc...@opensolaris.org, indiana-disc...@opensolaris.org > > > Hello list, > > during development of an analysis/simulation software for a customer > we ran into a nasty bug in Indiana ksh. We would appreciate any help, > this is currently a development blocker because our software prototype > should be implemented in a scripting language and Solaris perl lacks > sufficient floating point resolution. > > Reproducible: Always > Steps to Reproduce: > Run ksh -c 'integer -a z=( [1]=90 ) ; function x { nameref nz=$1 ; > print " $((log10(nz)))==$((log10($nz)))" ; } ; x z[1]' > > Actual Results: > The shell will print: > -inf==1.95424250943932487459005580651023 > > Expected Results: > The shell should print identical values > 1.95424250943932487459005580651023==1.95424250943932487459005580651023 > > Evaluation: > This bug only happens if the value in the array is accessed via a > nameref variable, the array index is greater than 0 and nz is not > dereferenced as string like in the second call to log10(). > > Nicolas > -- > Nicholas George > MBDA System Integration (home office) > > > > -- > Nicholas George > MBDA System Integration (home office) > _______________________________________________ > opensolaris-arc mailing list > opensolaris-...@opensolaris.org > -- , _ _ , { \/`o;====- Olga Kryzhanovska -====;o`\/ } .----'-/`-/ olga.kryzhanov...@gmail.com \-`\-'----. `'-..-| / http://twitter.com/fleyta \ |-..-'` /\/\ Solaris/BSD//C/C++ programmer /\/\ `--` `--` _______________________________________________ opensolaris-help mailing list opensolaris-help@opensolaris.org