[Python-checkins] r53769 - in python/trunk: Misc/NEWS Modules/socketmodule.c

martin.v.loewis python-checkins at python.org
Tue Feb 13 13:14:20 CET 2007


Author: martin.v.loewis
Date: Tue Feb 13 13:14:19 2007
New Revision: 53769

Modified:
   python/trunk/Misc/NEWS
   python/trunk/Modules/socketmodule.c
Log:
Patch #1657276: Make NETLINK_DNRTMSG conditional.
Will backport.


Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Tue Feb 13 13:14:19 2007
@@ -364,6 +364,8 @@
 Extension Modules
 -----------------
 
+- Patch #1657276: Make NETLINK_DNRTMSG conditional.
+
 - Bug #1653736: Complain about keyword arguments to time.isoformat.
 
 - Bug #1486663: don't reject keyword arguments for subclasses of builtin

Modified: python/trunk/Modules/socketmodule.c
==============================================================================
--- python/trunk/Modules/socketmodule.c	(original)
+++ python/trunk/Modules/socketmodule.c	Tue Feb 13 13:14:19 2007
@@ -4383,7 +4383,9 @@
 	PyModule_AddIntConstant(m, "NETLINK_ROUTE6", NETLINK_ROUTE6);
 #endif
 	PyModule_AddIntConstant(m, "NETLINK_IP6_FW", NETLINK_IP6_FW);
+#ifdef NETLINK_DNRTMSG
 	PyModule_AddIntConstant(m, "NETLINK_DNRTMSG", NETLINK_DNRTMSG);
+#endif 
 #ifdef NETLINK_TAPBASE
 	PyModule_AddIntConstant(m, "NETLINK_TAPBASE", NETLINK_TAPBASE);
 #endif


More information about the Python-checkins mailing list