]> granicus.if.org Git - python/commitdiff
Bug fix for fast module location
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 8 Oct 1997 15:32:46 +0000 (15:32 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 8 Oct 1997 15:32:46 +0000 (15:32 +0000)
Mac/Python/macglue.c

index 0adbce103666029dc9e66fb31d2afb5a34d2e460..4d0fb1f77e71b2b551e8fd6142bf0b6e74024910 100644 (file)
@@ -895,7 +895,7 @@ PyMac_FindModuleExtension(char *buf, int *lenp, char *module)
 #if 0
                        strcpy(buf+*lenp+modnamelen, fdp->suffix);
 #else
-                       strcpy(buf+*lenp+modnamelen, fdp->suffix);
+                       strcpy(buf+*lenp, fdp->suffix);
 #endif
                        *lenp = strlen(buf);
                        return fdp;