I think there is a problem with testing the return values from linux
syscalls; at least under i386 negative values can be OK. Looking at the
glibc source I find:
DO_CALL (syscall_name, args);
cmpl $-4095, %eax;
jae SYSCALL_ERROR_LABEL;
rather than a simple test on the sign that
>
> rather than a simple test on the sign that is currently in
> rtl/linux/i386/syscalls.inc. There is a helpful comment explaining this
> (in glibc/sysdeps/unix/sysv/linux/i386/sysdeps.h):
*BSD use carry indeed. However they also have 64-bit return values for
lseek since a _long_ time, so this
Hi,
Before I start working on bug 2861 I'd like you to take attached patch
which cleans up netdb, adds ability to do ipv4/6 mapped address
resolving and clears up some other issues.
johannes
--
http://www.sipsolutions.de/
Key-ID: 9AB78CA5 Johannes Martin Berg <[EMAIL PROTECTED]>
Index: netdb.pp
On Sat, 24 Jan 2004, Johannes Berg wrote:
> Hi,
>
> Before I start working on bug 2861 I'd like you to take attached patch
> which cleans up netdb, adds ability to do ipv4/6 mapped address
> resolving and clears up some other issues.
I'll apply the patch, thanks.
Michael.
>
> johannes
> --
I attach a patch for the rtl reader for dfm/lfm type files, in the hope
that it might be useful. It fixes some problems with reading inherited
forms, and implements reading utf8 strings (though it just discards
everything other than the bottom eight bits). Both helped in reading
some Delphi gen
D:\lazarus>make
make -C lcl all
make[1]: Entering directory `D:/lazarus/lcl'
d:/fpc/bin/win32/rm.exe -f units/i386/win32/alllclunits.ppu
make -C interfaces all
make[2]: Entering directory `D:/lazarus/lcl/interfaces'
make -C win32 all
make[3]: Entering directory `D:/lazarus/lcl/interfaces/win32'
d:/
On Sat, 24 Jan 2004 21:45:40 +0100
[EMAIL PROTECTED] wrote:
>
> D:\lazarus>make
> make -C lcl all
> make[1]: Entering directory `D:/lazarus/lcl'
> d:/fpc/bin/win32/rm.exe -f units/i386/win32/alllclunits.ppu
> make -C interfaces all
> make[2]: Entering directory `D:/lazarus/lcl/interfaces'
> make