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

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

[Octave-bug-tracker] [bug #53539] GUI file browser date stamps / editor


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53539] GUI file browser date stamps / editor script file appear modified when parsing date strings
Date: Fri, 20 Apr 2018 14:47:36 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #11, bug #53539 (project octave):

If there is a reentrant bug with calling setenv in a multi-threaded program,
then we will work around that as needed.

As it is, setenv is a function that is provided to the interpreter for user
functions to call, and I don't see that changing. And the Octave interpreter
itself is single-threaded.

I see no problem with setting TZ to UTC0 temporarily while strptime is called
and restoring it. If there is any problem, it is that the scope could be
reduced a bit so it's only around the strptime function.

The bigger problem is that the GUI is reacting to this change, which is giving
a wrong alert that files have been modified. That should be fixed regardless
of whether the datevec function is changed.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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