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

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

[Octave-bug-tracker] [bug #54571] gethostname must not be called from wi


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #54571] gethostname must not be called from within DllMain on Win32 systems
Date: Wed, 31 Oct 2018 12:58:31 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #4, bug #54571 (project octave):

I would like to fix this, but not quite in the way of the proposed patch. 
Instead, I'd prefer to create a class to manage the load/save functionality
and have an instance of that owned by the interpreter, similar to the way we
have been refactoring other instances of global variables.  As I understand
the patch proposed here, we just trade several global variables for a global
structure containing those same variables.  That change is separate from
avoiding the call to gethostname before main is called.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54571>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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