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

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

[Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct file


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #55542] Undefined behavior in loading oct files and shared libraries
Date: Tue, 22 Jan 2019 14:12:15 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Update of bug #55542 (project octave):

              Item Group: Missed Error or Warning => Other                  
                 Summary: Undefine bahavior in loading oct files and shared
libraries => Undefined behavior in loading oct files and shared libraries

    _______________________________________________________

Follow-up Comment #3:

Also, what REAL problem is the OP trying to report?  Or is it just a
theoretical problem that doesn't actually cause trouble?

Rik: I think the specialized code for Mac systems is no longer used since they
now provide a dlopen interface.  The special case for HP-UX systems also
remains but has anyone heard any reports of Octave running on HP-UX systems in
the last 5-10 years?  So now we really just have Windows (LoadLibrary) and the
rest of the world (dlopen).

If there is some real problem to be solved here, then I think I would
recommend using something like the ProcPtr class shown here:
https://blog.benoitblanchon.fr/getprocaddress-like-a-boss/
and then define the class differently for dlopen and LoadLibrary.

But really, unless someone can show me a real system where the current code
causes trouble, then this is EXTREMELY LOW priority and not important to me.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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