[Python-checkins] CVS: python/dist/src/Python dynload_shlib.c,2.7,2.8

Guido van Rossum python-dev@python.org
Wed, 10 Jan 2001 13:17:29 -0800


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

Modified Files:
	dynload_shlib.c 
Log Message:
Oops, one more part of the cygwin patch (SF patch #102409 by jlt63:
Cygwin Python DLL and Shared Extension Patch).  Add module.dll as a
valid extension.

jlt63 writes: Note that his change essentially backs out the fix for
bug #115973. Should ".pyd" be retained instead for posterity?



Index: dynload_shlib.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/dynload_shlib.c,v
retrieving revision 2.7
retrieving revision 2.8
diff -C2 -r2.7 -r2.8
*** dynload_shlib.c	2000/10/25 22:07:45	2.7
--- dynload_shlib.c	2001/01/10 21:17:27	2.8
***************
*** 30,35 ****
  const struct filedescr _PyImport_DynLoadFiletab[] = {
  #ifdef __CYGWIN__
- 	{".pyd", "rb", C_EXTENSION},
  	{".dll", "rb", C_EXTENSION},
  #else
  	{".so", "rb", C_EXTENSION},
--- 30,35 ----
  const struct filedescr _PyImport_DynLoadFiletab[] = {
  #ifdef __CYGWIN__
  	{".dll", "rb", C_EXTENSION},
+ 	{"module.dll", "rb", C_EXTENSION},
  #else
  	{".so", "rb", C_EXTENSION},