[Patches] [ python-Patches-992055 ] socketmodule on OpenBSD/sparc64 (64bit machine)

SourceForge.net noreply at sourceforge.net
Fri Jul 16 02:47:33 CEST 2004


Patches item #992055, was opened at 2004-07-16 02:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=992055&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Aleksander Piotrowski (pelotas)
Assigned to: Nobody/Anonymous (nobody)
Summary: socketmodule on OpenBSD/sparc64 (64bit machine)

Initial Comment:
perky at users.sourceforge.net
<perky at users.sourceforge.net> wrote:                  
                                                        
                                                      
                                                      
                             
> Update of /cvsroot/python/python/dist/src/Modules   
                                                      
                             
> In directory sc8-pr-cvs1:/tmp/cvs-serv3617          
                                                      
                             
>                                                     
                                                      
                             
> Modified Files:                                     
                                                      
                             
>       socketmodule.c                                
                                                      
                             
> Log Message:                                        
                                                      
                             
> Fix erroneus argument parsing of socket.htons() on
64bit big endian                                      
                               
> machines.                                           
                                                      
                             
                                                      
                                                      
                             
This is cool but not enough. There is another place
where 64 bit machines fail. Here is diff. With it my
OpenBSD/sparc64 passes all socket tests (test_socket).
Of course OpenBSD/i386 is still working OK.           
                                                      
              
                                                      
                                                      
                             
[diff attached]

Hye-Shik Chang had already replied. Here is what he said:

[...] But return value type of inet_addr(3) and       
                                                      
            its size has complex issues because it is
used for not only OpenBSD but                         
                                           also BeOS,
IRIX, old BSDs, Windows and etc. that I don't have an
access.                                               
                   I think you'd better to submit it to
SF tracker [...]

So I'm submiting it.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=992055&group_id=5470


More information about the Patches mailing list