[Python-checkins] CVS: python/dist/src/Include pyerrors.h,2.47,2.48

M.-A. Lemburg lemburg@users.sourceforge.net
Tue, 31 Jul 2001 11:05:35 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv9065/Include

Modified Files:
	pyerrors.h 
Log Message:
Enable PyOS_snprintf() et al. during alpha phase of 2.2.0 and
add another use case to the socketmodule.



Index: pyerrors.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyerrors.h,v
retrieving revision 2.47
retrieving revision 2.48
diff -C2 -d -r2.47 -r2.48
*** pyerrors.h	2001/07/31 14:23:52	2.47
--- pyerrors.h	2001/07/31 18:05:33	2.48
***************
*** 116,119 ****
--- 116,126 ----
  # define vsnprintf _vsnprintf
  #endif
+ 
+ /* Always enable the fallback solution during the 2.2.0 alpha cycle
+    for enhanced testing */
+ #if PY_VERSION_HEX < 0x020200B0
+ # undef HAVE_SNPRINTF
+ #endif
+ 
  #ifndef HAVE_SNPRINTF
  #include <stdarg.h>