Jordi Gutiérrez Hermoso <jord...@octave.org> writes: > On 8 July 2012 08:25, Sébastien Villemot <sebastien.ville...@ens.fr> wrote: >> What happens is that OpenJDK 7 changes the locale settings and, in >> locale environments where the decimal separator is a comma and not a >> point, that makes Octave crash when reading a decimal number (as simple >> as "0.1"). > > A change in locale should not make Octave crash. Do you have a > stripped-down example of how to reproduce this? I tried: > > jordi@Iris:~$ echo 0.1 > foo > jordi@Iris:~$ LANG=fr_FR.UTF-8 octave --eval 'load foo' > > and I did not see a crash.
BTW, my patch was inspired by what is done in the following Oct-file From Octave core, which seems to deal with a similar issue: src/DLD-FUNCTIONS/__magick_read__.cc (in function maybe_initialize_magick) -- Sébastien Villemot Researcher in Economics & Debian Maintainer http://www.dynare.org/sebastien Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
pgpcxNRITIjWY.pgp
Description: PGP signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev