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

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

[Octave-bug-tracker] [bug #63437] Null pointer dereference in file-edito


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63437] Null pointer dereference in file-editor-tab.cc
Date: Wed, 7 Dec 2022 03:32:22 -0500 (EST)

Follow-up Comment #36, bug #63437 (project octave):

Re comment #30:
I installed Cygwin locally. The symbol that is exported by the Qt5Core library
is the following:

$  nm -C /lib/libQt5Core.dll.a | grep QFile::open
                                                                                
                                        1. T QFile::open(int, 
QFlags<QIODevice::OpenModeFlag>,
QFlags<QFileDevice::FileHandleFlag>)
                                                                                
                                        2. T QFile::open(__sFILE64*, 
QFlags<QIODevice::OpenModeFlag>,
QFlags<QFileDevice::FileHandleFlag>)
                                                                                
                                        3. T 
QFile::open(QFlags<QIODevice::OpenModeFlag>)


Note the `__sFILE64*` instead of the `__sFILE*` that we'd like to use.
Is there maybe some header file that was included earlier but now no longer is
included that could have switched between 64-bit and 32-bit file pointers?

FWIW, the declaration of that function in the Qt5 headers installed by
Cygwin:

    bool open(FILE *f, OpenMode ioFlags, FileHandleFlags
handleFlags=DontCloseHandle);



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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