Success: kde 3.1 cvs running on sgi IRIX!

Thiago Macieira thiagom at wanadoo.fr
Sun Aug 11 13:43:06 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dominique Devriese wrote:
>> kget/kmainwidget.cpp: cc-1020 CC: ERROR File = kmainwidget.cpp, Line =
>> 2150 The identifier "AF_IPX" is undefined.
>>
>>      			 ipx_sock = socket(AF_IPX, SOCK_DGRAM, 0);
>>
>> 			 don't know what that is; commented it out
>> (any ideas?)
>
>hm.. shouldn't that be PF_IPX  ?

AF_IPX and PF_IPX should have the same value. That is, I hope it's always that 
way, because many people, including myself, use one or the other 
indiscriminatedly. I really don't know when to use one or the other.

Anyways, it seems IRIX doesn't provide IPX support. Therefore, I think it's 
prudent to enclose the AF_IPX usage inside #ifdef, like what's done right 
below with AF_AX25. I've provided a patch; can you test it?

>
>> krfb/srvloc/kinetaddr.cpp: added #include <strings.h> for bzero
>
>hm.. shouldn't that be string.h ?

keep string.h only and change bzero(ptr, size) to memset(ptr, 0, size). It's 
more portable.

- -- 
  Thiago Macieira - UFOT Registry number: 1001
 thiagom at mail.com
   ICQ UIN: 1967141  PGP/GPG: 0x6EF45358
     Registered Linux user #65028
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9VlvaM/XwBW70U1gRAk3DAJoDo+pddQlYyiFWLVenm4VXEVUgJQCeKNMz
ivTV4tm3y4Uz7MQzDkQ00NQ=
=9k8E
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kget-kmainwidget.diff
Type: text/x-diff
Size: 568 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020811/3d4ca702/attachment.diff>


More information about the kde-core-devel mailing list