]> granicus.if.org Git - python/commitdiff
Oops, one more part of the cygwin patch (SF patch #102409 by jlt63:
authorGuido van Rossum <guido@python.org>
Wed, 10 Jan 2001 21:17:27 +0000 (21:17 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 10 Jan 2001 21:17:27 +0000 (21:17 +0000)
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?

Python/dynload_shlib.c

index 28f50b1f76eada6f2a610c05a6c861eb9c37032b..7c8bfd2c3b7e16c5946bcb37b80d54ecaff77a5c 100644 (file)
@@ -29,8 +29,8 @@
 
 const struct filedescr _PyImport_DynLoadFiletab[] = {
 #ifdef __CYGWIN__
-       {".pyd", "rb", C_EXTENSION},
        {".dll", "rb", C_EXTENSION},
+       {"module.dll", "rb", C_EXTENSION},
 #else
        {".so", "rb", C_EXTENSION},
        {"module.so", "rb", C_EXTENSION},