This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: socket_htons does not work under AIX 64-bit
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: john_marshall
Priority: normal Keywords:

Created on 2004-03-23 18:00 by john_marshall, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
socketmodule.c-snip john_marshall, 2004-03-23 18:00 snippets from Modules/socketmodule.c
Messages (1)
msg20298 - (view) Author: John Marshall (john_marshall) Date: 2004-03-23 18:00
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. 
History
Date User Action Args
2022-04-11 14:56:03adminsetgithub: 40068
2004-03-23 18:00:03john_marshallcreate