[Python-checkins] CVS: python/dist/src/Python dynload_shlib.c,2.5,2.6

Tim Peters python-dev@python.org
Thu, 5 Oct 2000 12:24:28 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory slayer.i.sourceforge.net:/tmp/cvs-serv27047/python/dist/src/Python

Modified Files:
	dynload_shlib.c 
Log Message:
SF "bug" 115973:  patches from Norman Vine so that shared libraries and
Tkinter work under Cygwin.  Accepted on faith & reasonableness.


Index: dynload_shlib.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/dynload_shlib.c,v
retrieving revision 2.5
retrieving revision 2.6
diff -C2 -r2.5 -r2.6
*** dynload_shlib.c	2000/09/01 23:29:28	2.5
--- dynload_shlib.c	2000/10/05 19:24:26	2.6
***************
*** 23,28 ****
--- 23,33 ----
  
  const struct filedescr _PyImport_DynLoadFiletab[] = {
+ #ifdef __CYGWIN__
+ 	{".pyd", "rb", C_EXTENSION},
+ 	{".dll", "rb", C_EXTENSION},
+ #else
  	{".so", "rb", C_EXTENSION},
  	{"module.so", "rb", C_EXTENSION},
+ #endif
  	{0, 0}
  };