>Best is to use either THandle or cInt, probably the former. The latter may not
be defined in the system unit.
> Nice catch !
> Michael.
Thanks, Michael. I'll submit a bug and patch on mantis.
-SG
--
Seth Grover
Be kind to all of your neighbors
Because they're just like you.
And you're nothing
On Thu, 30 Jun 2016, Seth Grover wrote:
At +123 I can see that $eax/$ebx contains the correct descriptor, 51345.
However, when I print $bx in the debugger, it looks like a negative number,
as if it had overflowed a signed 2-byte integer, so the function errors
out. This causes the file descri
I am debugging an issue with FPC 3.0 on Linux x86_64 which I believe I have
tracked down to Fpopendir rtl/linux/ossysc.inc:
---
function Fpopendir(dirname : pchar): pdir; [public, alias :
'FPC_SYSC_OPENDIR'];
var
fd:integer;
st:stat;