[Python-checkins] python/dist/src/Modules socketmodule.c, 1.289, 1.290

loewis at users.sourceforge.net loewis at users.sourceforge.net
Wed Jun 2 08:35:34 EDT 2004


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13779/Modules

Modified Files:
	socketmodule.c 
Log Message:
Patch #924294: Do not check for AF_INET6 if it is not defined.
Will backport to 2.3.


Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.289
retrieving revision 1.290
diff -C2 -d -r1.289 -r1.290
*** socketmodule.c	26 May 2004 17:06:31 -0000	1.289
--- socketmodule.c	2 Jun 2004 12:35:29 -0000	1.290
***************
*** 3101,3105 ****
  	}
  
! #ifndef ENABLE_IPV6
  	if(af == AF_INET6) {
  		PyErr_SetString(socket_error,
--- 3101,3105 ----
  	}
  
! #if !defined(ENABLE_IPV6) && defined(AF_INET6)
  	if(af == AF_INET6) {
  		PyErr_SetString(socket_error,




More information about the Python-checkins mailing list