[Python-checkins] python/dist/src/Objects floatobject.c, 2.125, 2.126

montanaro at users.sourceforge.net montanaro at users.sourceforge.net
Sat Jan 17 09:19:46 EST 2004


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv12761/Objects

Modified Files:
	floatobject.c 
Log Message:
Remove support for SunOS 4.
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).


Index: floatobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/floatobject.c,v
retrieving revision 2.125
retrieving revision 2.126
diff -C2 -d -r2.125 -r2.126
*** floatobject.c	20 Nov 2003 01:44:58 -0000	2.125
--- floatobject.c	17 Jan 2004 14:19:44 -0000	2.126
***************
*** 14,27 ****
  #endif
  
- #if defined(sun) && !defined(__SVR4)
- /* On SunOS4.1 only libm.a exists. Make sure that references to all
-    needed math functions exist in the executable, so that dynamic
-    loading of mathmodule does not fail. */
- double (*_Py_math_funcs_hack[])() = {
- 	acos, asin, atan, atan2, ceil, cos, cosh, exp, fabs, floor,
- 	fmod, log, log10, pow, sin, sinh, sqrt, tan, tanh
- };
- #endif
- 
  /* Special free list -- see comments for same code in intobject.c. */
  #define BLOCK_SIZE	1000	/* 1K less typical malloc overhead */
--- 14,17 ----





More information about the Python-checkins mailing list