Przemek:
>Sorry my typo. It should be:
> TODDO: sync names of lang and corresponding codepage modules.
TODDO ? :-)
>C compiler output you send is such test :)
>'sa_len' is not part of 'struct sockaddr' when TCPV40HDRS is enabled.
>I'll commit fix in a while so please test also this build using the
>same .prg code.
>2010-02-21 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
> * harbour/src/rtl/hbsocket.c
> ! fixed OS2 builds using TCPV40HDRS - please test
It work
os2gcc442, with -DTCPV40HDRS
=======================
OS/2 4.50 Harbour 2.1.0dev (Rev. 13945) EMX GNU C 4.4.2 (32-bit)
interfaces:
{2, "lo", 21, "127.0.0.1", "255.0.0.0", NIL, NIL, NIL}
{2, "lan0", 19, "192.168.1.110", "255.255.255.0", "192.168.1.255", NIL, NIL}
{2, "lan1", 19, "192.168.2.64", "255.255.255.0", "192.168.2.255", NIL, NIL}
Output is shorter, does not include next kind of line. Is correct ?
{18, "lan0", 19, NIL, NIL, NIL, NIL, NIL}
See next, equal on OpenWatcom:
os2gcc442, without -DTCPV40HDRS
=======================
OS/2 4.50 Harbour 2.1.0dev (Rev. 13944) EMX GNU C 4.4.2 (32-bit)
interfaces:
{18, "lan0", 19, NIL, NIL, NIL, NIL, NIL}
{2, "lan0", 19, "192.168.1.110", "255.255.255.0", "192.168.1.255", NIL, NIL}
{18, "lan1", 19, NIL, NIL, NIL, NIL, NIL}
{2, "lan1", 19, "192.168.2.64", "255.255.255.0", "192.168.2.255", NIL, NIL}
{18, "lo", 21, NIL, NIL, NIL, NIL, NIL}
{2, "lo", 21, "127.0.0.1", "255.0.0.0", NIL, NIL, NIL}
David Macias
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour