2 messages in org.python.python-bugs-list[ python-Bugs-921898 ] socket_htons d...
FromSent OnAttachments
SourceForge.netMar 23, 2004 12:59 pm 
SourceForge.netMar 23, 2004 1:01 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[ python-Bugs-921898 ] socket_htons does not work under AIX 64-bitActions...
From:SourceForge.net (nore@sourceforge.net)
Date:Mar 23, 2004 12:59:46 pm
List:org.python.python-bugs-list

Bugs item #921898, was opened at 2004-03-23 13:00 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=921898&group_id=5470

Category: Python Library Group: Python 2.3 Status: Open Resolution: None Priority: 5 Submitted By: John Marshall (john_marshall) Assigned to: Nobody/Anonymous (nobody) Summary: socket_htons does not work under AIX 64-bit

Initial Comment: The socket tests fail for htons under AIX when Python is compiled for 64 bits (OBJECTMODE=64). It seems that this is easily (?) fixed if the socket_htons() code is modified to be close to the socket_ntohs() code in Modules/socketmodule.c.

Please see the attachment for the change I did which allows the socketmodule.c to function as expected.

----------------------------------------------------------------------