octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44029] Decimal number input parsing depends o


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #44029] Decimal number input parsing depends on locale
Date: Mon, 02 Feb 2015 16:20:38 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

Follow-up Comment #6, bug #44029 (project octave):

This is an erratic bug, it comes and go for the *same build*. The attached
test function retrieves the locale. When the bug doesn't appear or in cli mode
the output is:


ans =
LC_CTYPE=fr_FR.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C


which shows that LC_NUMERIC has the expected value. When the bug appears
(sometimes, in the GUI only), the output is simply


ans =fr_FR.UTF-8;


No variable name, simply the main locale.
To build the function and reproduce:


mkoctfile get_locale.cc
get_locale ()


(file #32974)
    _______________________________________________________

Additional Item Attachment:

File name: get_locale.cc                  Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44029>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]